In Descriptive programing if i use this below code will it
work for login window or flight Res Window. Shud i add the
properties like attached text=login and text=Agent Name in
the object repository and define a new object first. Pls
tell me the procedure in clear inorder to execute this
script.
Dialog("title:=Login").WinEdit("attached text:=Agent
Name:").set"agent123"
Dialog("title:=Login").WinEdit("attached
text:=Password:").set"mercury"
Dialog("attached text:=Login").winbutton("text:=OK").click
Answer Posted / sagar
We can do the Dialog("text:= login").WinEdit("attached text:= Agent Name:").set "user name"
Do the rest
We can use Dialog("text:= login")
Ok
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the five challenges you faced in QTP?
Explain advantages and disadvantages kdf?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How qtp recognizes the object?
please post the interview questions for QA position in FACTSET
How may types of defects identify application or your currently working application?pls give me answer..
Is it possible to merge two object repository files in qtp?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
Can we write winrunner language i.e TSL in QTP tool?
if numbers are always changing write a script for that
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How is a Step generator used in UFT?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How to save your test using quicktest professional?
give me an example where u used good judgement and logic in solving a problem