Apart from VB script What are the fundamental criteria to
gain the knowledge to write QTP script without OR and
recording ?
Answer Posted / 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 |
Post New Answer View All Answers
How to use parameterization in qtp?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What is QTP and the use of QTP in TD?
What are the five challenges you faced in QTP?
Which scripting language used by quicktest professional (qtp)?
What r the different filters in defect in quality center
If you are testing a web application then what will you test in that application?
what are the challenges you have faced while testing web based application using the automation tools ?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
What are the Application Functions available in QTP?
How to do call a output parameter from one action to another action??/
How is test case write?
Have you done batch testing in qtp? If yes how you are doing?
Shall we add Local Repository to shared object repository,if yes,how we add