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
what is meant by Implicit and explicit requirements?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What are the advantages of parameterization ?
What is output value? How many types of output values are there in qtp?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How you can find length of array in qtp?
What is the difference between byref and byval in qtp?
can u please explain what is the exact difference between qtp8.2 and 9.0
Differences between quicktest professional (qtp) and winrunner?
How to suppress warnings from the test results page?
how to convert 100 into hundred repees only and viceversa
if our qtp vb Script may be Currepted then What we want do?
How do we analyze the checkpoint results?