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 |
please tellme ordernal identifiers in QTP?
How to call a test from another test?
How to retrive the property of an object?
What is parameterization? What is syncronization pt.?
3 Answers Semantic Space, SRM,
How many types of actions are there in quicktest professional?
Tell me about your project? please help me how to tell about insurance project
Explain about the Test Fusion Report of QTP ?
I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?
whai is meant by automation testing?
What is the difference between low level recording and analog recording mode when it will be enabled.
Explain the Different types of QTP test assets and their extensions?
How did you use regular expressions in QTP and also in WR?