If u r using descriptive programming to identify the object
where do u write the script for those objects? do u write
it in the expertview? plz do answer its urgent thanks
advance.
Answers were Sorted based on User's Feedback
Answer / aparna
Yes u can write in the expert view like this:
Browser("Browser").Page("Page").WebEdit("Name:=txt_Name","html
tag:=INPUT").set "Test"
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / krishan kant sharma
You need to write script in Expert Mode.
For example you want to click on one button available on
Calculator:
' Open Calculator
Systemutil.Run "Calc"
'Click on Button 1-simplest code
Window("text:=Calculator").winbutton("text:=1").Click
'Close Calculator
systemutil.CloseDescendentProcesses
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jas
No you cant write the descriptive programming in expert
view. Descriptive programming is written in keyword view
only
Is This Answer Correct ? | 1 Yes | 8 No |
Should have experience in framework means?
how to write this script using descriptive programming? the script below is the script generated by QTP plz write the script using descriptive programming? plzzzzzzzz do answer thanku Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit("Email").Set "test123" Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit ("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4" Browser("Welcome: Mercury Tours").Page("orkut - login").WebButton("Sign in").Click Browser("Welcome: Mercury Tours").Page("orkut - home").Link ("Logout").Click Browser("Welcome: Mercury Tours").Page("orkut - login").Sync Browser("Welcome: Mercury Tours").Close
write script for bitmap image?
Explain different types of action in qtp?
In where you are keeping or maintaining shared object repository (file)in your appliction?
What are the views available in quicktest professional?
What is the difference between Normal mode and Fast mode ?
How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.
suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do
What is the main differece between QTP 9.0 and 9.2
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....