I have a question. Is there anybody here who could at least give me an idea or a video perhaps on how to create a test script from Selenium IDE, converting it into Selenium webdriver, setting it up in the visual studio and successfully running it. Your help is highly appreciated.
There are dozens and dozens of these videos already online. There is no point in using IDE. Go straight to webdriver. You must chose a language to write in first, C#,Java etc. If you don't know either of these, it's best to study these first and then move on to Selenium webdriver.
I suggest C#. You can use the Microsoft virtual academy to learn this from scratch.
Best of luck
-Aaron
Related
Novice Selenium user here. I have experience with other ui automation tools, so I thought piece of cake. I got this. I am writing my code in C# using Visual Studio. I have this
this.txtLogin = this.driver.FindElement(By.Id("Username"));
When I use the Developer Tools in IE, I can see it. I even pasted the id do as to not risk a typo. As I was dorking around, I decided to screw around to see what I could see, maybe find a parent to help Selenium out. So I did
this.parent = this.driver.FindElement(By.Id("divRight"));
which is a unique Div upstream of my text box. This is not being found either.
Can someone help me understand what I am missing? Thanks.
S
I figured it! I had to switch frames. Thanks readers.
I installed and played around with Selenium WebDriver on Visual Studio 2012 (C#) last week and was very impressed by how easy it was to automate browser testing. I now want to find out if I can expand the functionality. I'm hoping someone can point me in the right direction. Here's what I'd like to achieve:
Run Selenium WebDriver tests on remote machines, ideally managed by a central control machine.
Integrate test results with Quality Center or Test Manager
How to automate tasks such as application installer? I realise Selenium can't do this.
Utilize an existing framework that already has functions for common tasks such as batch testing, logging, copying files, etc.
I apologize if my questions are a bit broad but I'm certain others have tried to achieve this with Selenium before.
Your help is very appreciated,
John
I would like to develop an add-in for Microsoft PowerPoint. I have Visual Studio 2012 installed and ready, but i can't seem to find any simple tutorials or getting started guides on the subject except this brilliant (sarcasm) guide from Microsoft:
http://msdn.microsoft.com/en-us/library/vstudio/cc668192.aspx
I have been searching the net for a few days, but without any luck.
Is there anyone with experience in developing add-ins for PowerPoint, who could give me a hint on how to get started?
It would be great to know if you prefer Visual Basic or C# and why.
Lastly, sorry if I sound like a rookie. I am for sure.
Kind regards.
http://blogs.msdn.com/b/jasonz/archive/2012/05/24/my-favorite-features-creating-storyboards-with-powerpoint.aspx
http://www.codeproject.com/Articles/420406/PowerPoint-timer-addin
http://msdn.microsoft.com/en-us/library/office/bb960904%28v=office.12%29.aspx
I guess these are good one's for starting up...with code..
Visual Basic (.NET, I assume) or C#?
If you're new to automating PowerPoint, neither.
Use VBA. It's built into PPT, much quicker to work with, you can test little snippets of code right there in the IDE w/o having to compile first.
If you decide you want to move it into VB.NET or C# later, it shouldn't be that big a struggle, assuming you know either of those tongues.
Or once having developed it, you can save the PPT containing your VBA as an add-in (PPA or PPAM file, depending on the version of PPT you want to target). And distribute it with very little more than that needed; no megs of runtimes/frameworks etc.
I started C# a while ago and really like it.
I work with VS 2008 and really like it.
I tried Resharper and loved it.
Now I am starting with Macros in VS2008 to increase my coding speed a little more. And stumble upon visual basic. And I do not like that.
Is there any way to write macros in C#. Or a workaround, in writing a plugin for VS to reach the same goal. Just let me stress out, its a productivity issue. I just want to automate some features I use often (create macro, assign shortcut, tell my touchscreen-app to send this shortcut)...
So from an experts point of view, is there an easy way to e.g. "collapse all items in the solution explorer, but expand all starting with the letter A" (just a silly example) without using visual basic?
Thanks for any tips,
Chris
PS: I was nearly happy with recording and playback. But, as it turns out, some "external" resharper command (like collapse all) do not play well with macros (getting strange com errors). So I thought, hey, a loop to collapse all items, I can do that. But unfortunately not really quick in VB :-)
Try writing a DLL in C# and referencing it in a VB macro.
This way, the only VB you'll need to write is the code to connect the DLL to the IDE.
Unfortunately no, Visual Studio only supports VB.NET for macros.
I wouldn't stress too much about not having C# for macros (many C# developers seem mortified that VB.NET code will stick to their shoe like toilet paper). Rather take pride in your ability to be productive in multiple languages!
Visual Commander (developed by me) lets you write Visual Studio 2010+ (macro) commands in C#.
Snippets are the closest which I've come across. Snippet Editor 2.1 does a pretty good job setting them up without to much hassle.
I would like to build a browser extension for IE 7/8. I would like to do it using .NET. Do you know of any resources or tutorials that I could reference to do this? I haven't found much.
Thanks!
JP,
One of the main issues that makes IE extensions hard to develop is the need to develop with C, or .NET.
On the other side, FF and Chrome use (to some extent) JS, which is easier, and has a much lower entrance barrier (How many C "web developers" do you know?).
This is one of the issues / obstacle Crossrider is here to solve.
You can create your first IE plugin within minutes. It will save you a lot of research and development time, and you can write your code with Javascript.
On top of that, if you plan this plugin/extension to also work for browsers other than IE then you can develop a cross browser extension once, using an extensive unified API, and we will make it work for Chrome and Firefox.
Chrome and Firefox each one gets a a native extension file (CRX and XPI respectively) while IE a special EXE engine to run your app.
(Disclaimer: I'm a co-founder of Crossrider)
The same question that was asked two years later has the necessary answer. Everyone should refer to this question now:
How to get started with developing Internet Explorer extensions?