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
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
can anyone tell me from where i can download qtp demo or crack version
Explain process of smart Identification in QTP?
what is the difference between the modular framework and datadriven frame work
How to carry out bit map check points in QTP
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What is the use of text output value in quicktest professional?
What are the recording modes in wave event?
What is qtpro?
Explain the types of properties that quick test learns while recording?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
What is system testing and what are the different types of tests you perform in system testing?
What are the differences between qtp and winrunner?
Can launch two instances of qtp on the same machine?