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 |
Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.
What is the file extension of the code file in qtp?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How software tester can use constants and variables in scripts?
write a vb script to print even numbers from 1-50?
6 Answers Kclink Technologies, Logica CMG,
What’s the basic concept of QTP?
what is tool interface?
How to test a web application using QTP?there is no any .exe file in web app,then how we can take the application for testing
Is it possible to change the values of analog recording?
Can we record a video in qtp recording??
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..