Win a copy of Head First Android this week in the Android forum!

kevin Abel

Ranch Hand
+ Follow
since Jan 15, 2018
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
7
Received in last 30 days
0
Total given
57
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kevin Abel

Campbell Ritchie... Let me attempt to code what I meant







}
2 months ago
Mike Simmons...I appreciate the explanation.  I should have written constructor or constructor method.  
2 months ago
I am using Intellij.    As I'm writing Selenium Java code I get errors such as "one related problem".   Sometimes the extend of a class stops working.    
I use File/Invalidate Caches and it fixes it for a little while.
Is there a way to stop this from happening?  
Thanks,
Kevin
2 months ago
I agree with you. They will get pushed off of IE.  For now I found that pressing F12  gets me to the developer utility as usual.  Then I press on the console button.   The xPath testing bar sometimes does not appear so I have to press on the Dom tab to the left and then back to the console tab.  Then I get the bar that I use to build the xPath string.
 
2 months ago
IntelliJ
Java  Selenium TestNG

I can declare private variables in the constructor class but not in other methods.   Is this normal?  
It is the IDE that is complaining.

Thanks,

Kevin
2 months ago
Damon and Tim...Some places have developed applications that have run for years on IE. It does what they want but occasionally needs some adjustments.   They don't have the funds or need to upgrade to something else.  I'm the tester and can only recommend that they leave the platform.
2 months ago
These two classes are underneath the same package.  I cannot include all of my code because it is from work.  The issue is that the driver can not be seen within the method that extends TestBase.   I am having this during coding.  It also does not run.

2 months ago
I am stuck testing in IE 11.  I'm using selenium with Java.

For some objects I need to construct the xpath by guessing and then see if it works in the script.   I don't have the luxury of chropath or fire bug or tools such as that.

I'd like to write a script where I have the page with the object I am trying to reach open.  Then have a small Selenium script that makes the object on the screen blink or a message appear in the bottom of the screen saying if it was found.

I don't know of a way to find out if selenium can find the object.   I don't want it to take an action on the object such as click, but I'd like to know if Selenium can tell that it is there.  

I know how to click on an object with driver.object.click kind of code.

I found some code online that I am still debugging that calls JavaScript and changes the color of the object if it can find it.

I'll take any ideas or snips of code I can get.

Thanks,

Kevin

3 months ago
Stephan,
I took a look at the site.  I don't know enough to know how to use the information on it.
I thank you for the information.
Kevin
3 months ago
I have this working.  It is from a 23 year old company and I don't think they are in business any more.  I lets me enter xPaths and it tells me if they are valid in IE11.  I think that it highlights the object if found.  I also see pieces of code that look like JavaScript that might also be able to do  this.  I don't know from where to call the Java script.

Jeanne...YOur idea of saving the page and examining it with another browser might work.  How do I save the page?  Is it File/Save?

Thanks,

Kevin

'http://westciv.com/mri/theMRI.js
3 months ago
The application I am testing is only on IE 11.  Otherwise I wouldn't be trying to do this.
Thanks,
Kevin
3 months ago
Does anyone know of a plugin for IE to find Web Elements?  Something similar to chropath for Chrome or firebug for Firefox?  I want to see the xpaths for objects in IE.
4 months ago