I am looking for a way to go through the Google wizard setup for Android,( when setting up a new phone), by creating an automatic test, preferably with C#. I was thinking about Appium, but I am not sure. Any leads ?
I am looking for a solution that won’t need the Debugging mode on. As I will be at the set up screen.
Thank you !
Related
I'm testing out nanoframework for ESP32 and I've hit a snag.
The ESP32 is mounted on a custom board for an existing product so I need to debug it with an Olimex or a Segger JTAG debugger.
I've been looking for some guide on how to setup this. The only clue I've found so far is a note on docs.nanoframework.net that says
If you want to debug the nanoCLR code on the ESP32 chip you'll need an JTAG debugging adapter. ESP32 WROVER KIT already includes one. For other boards you can use the Olimex ARM-USB-OCD-H JTAG debugging adapter or a Segger JLink. There are preset configurations for these adapters.
No further text about those preset configurations.
I've found lots of guides on how to setup it manually it with the ESP-IDF framework, but I don't see how that can work for nanoframework. Today I'm running an application where I use VisualGDB to setup the environment and debug and that's working great, but once again, no nanoframework.
I'm not used to working with .NET, normally being an embedded C developer, so perhaps I'm missing something so basic that guides don't even mention it.
Anyone know of any good guides?
I wasn't sure if you're looking to debug the native code (the CLR and execution engine) or the .NET C# code that you'll deploy on the board...
If it's the later then you don't need any JTAG nor any fancy connection, just a plain COM port.
I am a C++ and python developer but I need to use C# for a professional project.
I know some good basics of .NET Core but I want to find a good UI library to learn.
I test Avalonia and I want to try Uno.Platform for is multi-platform capabilities.
But, I make simple test on Visual Studio and just try if it works on Windows (with UWP sub solution).
It works (thx for templates and tutorial) when I run the application from Visual Studio.
But I want to try the application directly by executing the App.exe generated in bin/x86/... but nothing append. No trace, no error... just nothing.
I try to deploy but the problem persist....
I probably miss something important but I found no information that can help me on internet.
Did you have information to help?
When kind of topic I don't understand in the C# with Uno.Platform CI?
This seems a pretty general question. The best way to go about it is to go to Uno Platform Discord community and chat with users there - www.platform.uno/discord - #uno-platform channel.
For specific questions on how to do X with Uno Platform you should post to Stack Overrlow.
hmm i will try to answer your question. i am also experimenting with Uno.
Since Uno is Crossplatform, every Operating systems Uses its own "Programm Header"
This Header contains a lot of stuff including the needed Code entrance Point for each OS.
For Windows i tried it with the WPF HOST header and it worked.
If you want to get a executabale for the "Hallo World" example try to publish the WPF HOST Header into a folder. it will contain the .exe
I already have a Windows PC that I program all my C# Selenium Webdriver suites in. From there, running tests will open up the appropriate browser and I can either debug or run the tests as required. Could someone please let me know a suitable native iPhone app equivalent of this development and debugging environment? As far as I could tell, iOS driver can be used from a programming side but does not have an attached simulator that can be used - it's purely an API. I checked out Appium website, but it looks like it can only run on Mac (correct me if I'm wrong) and I'm not sure it is designed for 'black box testing' or whether I have to load the full iPhone app project into it first and build up the test suites from there. Difficult to tell just from the website. So, any help would be appreciated - particularly if you have worked with iOS driver or Appium before.
So here's the bad news:
You will need a machine with OSX to run the "iPhone Simulator". Here's the general consensus on running the emulator on a hackintosh
That's the bad part. Here's the good part:
From there, running tests will open up the appropriate browser and I can either debug or run the tests as required.
Appium's Inspector will help be your debug tool, while the iOS Simulator is your "browser"
As far as I could tell, iOS driver can be used from a programming side but does not have an attached simulator that can be used - it's purely an API.
You're 1/2 correct.
There is no attached simulator - it's purely a REST server.
This is why you can write your tests in any language.
They have various client libraries which make it easier to work with. Here's the one for C#
I'm not sure it is designed for 'black box testing'
One of Appium's philosophies is "You shouldn't have to modify your app to test it" so yes, you shouldn't need to know anything about the system's internals to test it.
or whether I have to load the full iPhone app project into it first and build up the test suites from there.
If you want to run it on the simulator (you do), you do need a developer version of the app (compiled full iPhone app project)
So either your CI system (Jenkins, etc) gives you the .ipa or .app file, or you can have a client developer make one for you, or you can check out the source code and build & run with XCode.
Here's the setup guide on how to run your app with Appium, which covers the above two points.
Difficult to tell just from the website.
It's a bit of a learning curve to start -- and the documentation is a bit scattered around. I would suggest reading this first, and then starting out with running the inspector on a sample iOS project (like this Paint app) and then the app you're actually trying to automate.
I'm looking to make a C# application to automate some processes for me. One of which would be navigating a few websites that I frequent, such as grooveshark. I'd like my application to be able to log me into the website and search for/play a song.
I've done some googling on the topic and came across something called selenium. I was wondering if this was the best tool for what I would like to accomplish or if there is another option that would be a suit my needs better?
Thanks in advance!
In order to automate your process , you can use Microsoft Test Manager , who is tool about testing and generating code
On Microsoft Test Manager 2012 , for example you have new functionnality such as Exploratory Test, the process is you explore your application and generate your test.
Link : http://msdn.microsoft.com/en-us/library/vstudio/hh191621.aspx
After creating your tests, you can generate Coded UI Test and include in your build process
Note : you must use Team Foundation Server or Service in order interact with Test Case WorkItem
Selenium will do fine, unless the sites use Flash. If they do, you are pretty much stuck.
https://code.google.com/p/selenium/
http://selenium.googlecode.com/git/docs/api/dotnet/index.html
http://docs.seleniumhq.org/docs/03_webdriver.jsp
I would read up on Selenium and come back when you have a specific problem.
If you have Visual studio Premium or greater I would suggest Coded UI. I would also suggest CUITe http://cuite.codeplex.com/ as it simplifies the code.
It definately depends on what your automation is going to be able to. I don't know Selenium at all. I think it's for recording certain actions on a website in a certain order. Though you will only be able to automate the process as far as the website (the actual client) capabilities offer.
If you'd like to build some different, more advanced behaviour the client doesn't provide yet, you'd need to build your own client. That'd need some backwards engeneering. That'd be the case for e.g. automating browser games. Usually a browser game client doesn't provide scanning certain amounts of players and automatically comparing them to your own player profile, so building this feature on your own would be the only possible solution.
I am mainly a java programmer, using linux/os x for as long as i remember. I am extremely comfortable in emacs and usually prefer doing things through command line.
I need to create a internet explorer addon for our next project. I need to intercept url ie is about to download and if they meet certain criteria pass it to our application.
So my questions are,
How can i build a c# project through command line so i can integrate it with our current build process.
Current i have windows 2k installed in a virtual machine that i use for testing. Is there going to be any compatibility problems.
I am assuming i am going to be creating a dll and inject it to ie to intercept url's. Am i on the right track?
Here are responses to your questions:
Use the C# Command Line Compiler. MSDN has an entire section devoted to its use.
Not for an IE add-on. If you plan to do more, using some newer libraries, you may run into problems unless you're running Windows XP or later. For IE addons, 2000 should be fine.
That's the basic idea. I'd refer to the MSDN articles on creating add-ons for IE, such as this one showing how to make custom menus.
Be aware, though, that you'll have a more difficult time if you avoid using Visual Studio (or some other IDE). There is no reason not to use VS, especially since you can use the Express Edition for free. If you're doing that, you can use msbuild instead of csc directly, and it will simplify your build process (even if you build from the command line).
However, the productivity gains from a good IDE will come in handy, especially for C#.
Responses to your questions:
If you use Ant maybe this will help. If you use Maven, maybe this will help. Otherwise, I'd just use MSBuild or NAnt.
Can't say for sure. I would guess that the IE API would be the same on each of the platforms. YMMV.
I'm busy writing an IE addon at work and I'm using SpicIE. It's very straightforward and simplifies the IE API drastically.
I've read in the comments elsewhere that you're not a fan of VS. I would probably use it (or MonoDevelop/SharpDevelop if they can create .csproj) to create the .csproj that can be used as an input to MSBuild. It might save you time rather than having to learn the syntax of the file.
If you give up the IDE, you give up one of the best debuggers on the planet and the best code-completion I've ever seen. Other than the fact that it will be a new system to you, there is no reason to claim that you can develop faster in EMACS. Everything you need is in the IDE, and there are keyboard shortcuts to mostly everything.
If you computer can handle the work load, I really see no good reason not to use Visual Studio.
edit: the newest version of visual studio won't run on anything less than XP sp2, to my recollection. This is most likely because the new versions of .NET won't run on anything lower than that... which would be a huge compatibility problem.