cancel
Showing results for 
Search instead for 
Did you mean: 

Useful extensions for TestComplete web testing

SOLVED
Highlighted
Regular Contributor

Useful extensions for TestComplete web testing

I created this thread to share these magnificient extensions.

Instead of "Object Inspector" we can use it to speed up the process of getting object IDs.



Available for Chrome, Firefox, Opera



https://addons.mozilla.org/pt-pt/firefox/addon/web-developer/



Available for Internet Explorer



http://www.microsoft.com/en-us/download/details.aspx?id=18359
LinkedIn 😄 "A SQL query walks into a bar and sees two tables. Walks up to them and says 'Can I join you?'"
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Expert

RE: Useful extensions for TestComplete web testing

The following for REST Web Services:



XHR POSTER in Chrome and Poster in Firefox



Also in Firefox: Firebug (Web dev) and Firepath (XPath, CSS selectors and JQuery selectors)



Nothing in IE



Regards,

Phil Baird

View solution in original post

7 REPLIES 7
Highlighted
Occasional Contributor

RE: Useful extensions for TestComplete web testing

Thanks for the post.



I use FireFinder of Firebug in FF browser. Very useful for creating and verifying the Xpath and CSS query selector we use.
Highlighted
Regular Contributor

RE: Useful extensions for TestComplete web testing

Nice 😉



What about others? Do you use any other useful extensions?
LinkedIn 😄 "A SQL query walks into a bar and sees two tables. Walks up to them and says 'Can I join you?'"
Highlighted
Community Expert

RE: Useful extensions for TestComplete web testing

The following for REST Web Services:



XHR POSTER in Chrome and Poster in Firefox



Also in Firefox: Firebug (Web dev) and Firepath (XPath, CSS selectors and JQuery selectors)



Nothing in IE



Regards,

Phil Baird

View solution in original post

Highlighted
Community Manager

RE: Useful extensions for TestComplete web testing


Thanks for sharing them, Jorge.


 


I used to work with Firebug and Web Developer. They are very useful!


 


BTW, do you know that they allow generating an XPath expression for the target object (at least, the simplest one)? There is a Blog article that demonstrates how to do this in Chrome's built-in extension: the link to the article.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Expert

RE: Useful extensions for TestComplete web testing

Another tool I use is JSON Formatter and Validator



Whilst not an Extension, it definitely comes under the category of usetul.



Regards,

Phil Baird
Highlighted
Super Contributor

RE: Useful extensions for TestComplete web testing

Tanya, I tried that xpath method but it didn't work, can you tell me what's wrong with this code? I used Chrome to get the xpath expression






var obj = Sys.Browser("firefox").Page("*vitacare*").EvaluateXPath("/html/body/div[1]/div[1]", true);


  if(obj && obj.Exists)


    obj.click();


  else


    Log.Message("obj does no exist")

Highlighted
Community Manager

RE: Useful extensions for TestComplete web testing


Hi Jose,


 


As a rule, the Page object contains html data inside the body tag. I guess you need to remove /html/body from the expression:


 




var obj = Sys.Browser("firefox").Page("*vitacare*").EvaluateXPath("/div[1]/div[1]", true);


 if(obj && obj.Exists)


   obj.click();


 else


   Log.Message("obj does not exist")



---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors