Apart from VB script What are the fundamental criteria to
gain the knowledge to write QTP script without OR and
recording ?
Answers were Sorted based on User's Feedback
Answer / suresh.testing
In order to develop this script we should know the test
object descriptive properties & values (By using objectspy)
Ex:Static Descriptive program for login page(Banking
application)
Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtuid").Set "Admin"
Browser("name:=usRanfordbank").Page("title:=Ranfordbank").WebEdit("html
id:=txtpwd").Set "suresh"
Browser("name:=usRanfordbank").Page("title:=Ranfordbank").Image("html
id:=login").Click
------------------------------------------------------------Ex:
Dynamic Descriptive program for login page (banking application
set br=description.create
br("name").value="usRanfordbank"
set pg=description.create
pg("title").value="usRanfordbank"
set uid=description.create
uid("html id").value="txtuid"
set pwd=description.create
pwd("html id").value="txtpwd"
set img=description.create
img("html id").value="login"
Browser(br).Page(pg).WebEdit(uid).Set "Admin"
Browser(br).Page(pg).WebEdit(pwd).Set "suresh"
Browser(br).Page(pg).Image(img).Click
| Is This Answer Correct ? | 8 Yes | 6 No |
Answer / sai
I think just writing
br.pg.uid.set "Admin"
would be enough
no need of Browser(br).Page(pg).WebEdit(uid).Set "Admin"
| Is This Answer Correct ? | 2 Yes | 5 No |
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
what is syncurnisation point? what is the use of this in real time environment? plz explain?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
Explain how you can find length of array in qtp?
How many check points are there in QTP and what are they?
What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say?
What is the XML file architecture ?
wt is the xtension of the QTP result view file?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
HOw to add the recovery file at runtime to the test file .
CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?
What is the scripting language used in QTP?