write a qtp code to count the number of child objects in login
page and highlight it
Answer Posted / mudaseer
set childobj=dialog("text:=login).childobjects
msgbox childobj.count
for i=0 to childobj.count-1
childobj(i).highlight
next
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
What is the expert view?
Can we run multiple QTP scripts one after the other without manual intervention? How?
What is the use of text output value in quicktest professional (qtp)?
How many types of status are there?
Get the count of files of similar types from a folder.
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Hi All, How to Compare two strings character by character in QTP
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
How to execute a winrunner script in quicktest professional?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
There is an excel file of 1 to 100 sheets how you will iterate through it?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
What are the advantages of parameterization ?