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.
Related
I am trying to develope a program that can draw this picture based on user input.
https://www.researchgate.net/post/How_to_plot_topographical_map_of_scalp_from_EEG_data
I am trying to use c# from Visual Studio 2017 to write this program.
I had searched on the net, but it only show me the product instead of coding.
I realized Matlab, Ilnumberics, VTK can do this.
The issue of Ilnumberics and VTK is, i need to install them just for a little function from them. I don't think this is a good solution.
Would like to ask, is there any suggestion for me.
Thank you.
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
I am work with Sharpdx/C# - i'm wondering how Unity/UnrealEngine/CryEngine create their GUI for the Editor.
After some research i find "D3Dsurface" to work with WPF. But the Performance/FPS should be bad.
I cant believe all the engines (http://xenko.com - SharpDX engine) do their own GUI from scratch.
I tried to create a second Winform, it works but not the right approach for me.
best regards alex!
Xenko use this and so do I, it looks really good
Telerik windows forms are really good as they can be themed and tweaked to how you like.
Xenko like my self use the dark Visual Studio theme.
They have a free trial so u can get you feet wet before you go and drop cash on it, they also have a forum so you can ask for help and a few times I have seen them go out of there way to help.
Once you get your hands on the Dev pack you can modify the source and all sorts of cool stuff.
I have tried a few other windows forms controls but I settled on Telerik a few years ago and haven't looked back.
All in all I give them a 10/10 and they have some really nice CPU\RAM profiling tools.
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'm working on a visual studio 2010 extension and was wondering on how to obtain an existing language service ( the one for C# specifically ). All the articles I've seen on the web so far are about "Implementing your own language service", but I haven't been able to find any info on obtaining an M<existing one.
Just to provide some context here, the extension needs to open a custom wpf form on demand,in which i want to host a C# code editor window.
I'm not yet sure this is even possible, however any tips would be appreciated.
Well, it took me forever to word this question correctly, but I found a blog post answering the question on Google: Hosting the C# Code Editor in a Tool Window
I know it's kind of rude to just dump a link, but helpful nonetheless I hope.
One thing you can have a look at is the Roslyn CTP. I've seen a demo of it at the Dutch Tech Days last week and it looks quite nice.
It can help you in hosting your own coding environment and easily compile snippets. But it's still really beta and it doesn't support all the language features yet.