How to find Total no of Text Fields in the Page..Anybody
please answer me..Thanks in Advance
Answer Posted / babu
Hi,
Set oDesc = Description.Create()
oDesc("micclass").Value = "Text"
Set Lists = Browser("Login").Page("Application").Frame
("folderFrame").ChildObjects(oDesc)
NumberOfLists = Lists.Count()
msgbox NumberOfLists
by using this, you can able to get the number of text
fields in the page.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
what is defenetion of kiran can u tell me plz CVS, SVN
Where is the Bitmap checkpoint information stored?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
Suppose I want fail that check point? How can you do that?
What are the different attributes used with regular expression?
What is action?
What are the different types of recording modes in qtp? Which will be used when?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
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
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
How many types of parameters are there?
Explain sub procedure of vbscript.
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
distinguish between old version and new version QTP features.
Have you faced any problems with object repository?