How to fetch web elements count from Google Page which
contains letter "e"

Answer Posted / bibhu

Thanks Aiswaryan,

How ever I was trying another way instead of using Regular Expression. --

Set oelement=description.Create
oelement("micclass").value="WebElement"


Set elements=Browser("Title:=Google - Windows Internet Explorer").page("Title:=Google").ChildObjects(oelement)
cnt= elements.count
For i= 0 to cnt-1

elementname=elements(i).getROproperty("innertext")

Next

My approach was here to store all webements in variable elementname & then using instring ot mid to fetch the count.

But I am getting a 'General Run Error' at the GetRoproperty line.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many tabs are available to view your test in a test pane and what are they?

559


how u will evaluate the tool for test automation?

1361


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1457


who QTP recognizes the object stored in object repository?

1655


What is object repository in qtp?

556






What are parameterizing tests?

545


Explain how you can find length of array in qtp?

596


What are the check points can be inserted without recording?

594


What is the limitation to XML Checkpoints?

1597


How to handle dynamic objects in quicktest professional (qtp)?

542


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1753


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1649


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1496


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

579


How the exception handling can be done using quicktest professional (qtp)?

563