In Login two edit box which object class property value is
same, How to enter into 2nd edit box in qtp by vbscript.
Answers were Sorted based on User's Feedback
Answer / netesh
using index property.
browser("x").page("x").webedit("y","index=1").set "abc"
' index 1 means first object which is left to right and top to bottom
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / rahul
If the object class property value is same.
Enable smart identification which can find the unique property value that could't found by quick test,this enables you to further step.
| Is This Answer Correct ? | 7 Yes | 0 No |
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri
Explain the concept of object repository?
How to load the object repository at run time?
Explain the check points in QTP?
How to find array size in qtp?
How to retrive XML file data in QTP ? using Script(Chandana)
Is QTP Object Oriented language or Object Based language? What are the OOPS concepts it will support? Why it wont support all the OOPS concepts?
Why is Client side image is preferred over server side image?
What are the Latest Feature are added In QTP 9.2?
How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?
What is the Diff between Image check-point and Bit map Check point?
Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri