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 |
if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?
HOW TO DO THE BATCH TESTING USING QTP?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?
Explain advantages and disadvantages of ddf?
The xls contain data. how to get number of columns form the sheet?
Generic function to search for the unique link in webtable and click on it
Which scripting language QTP is using?
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
wt is automation framework? give explonation?
What is the purpose of loading qtp add-ins?
How does qtp identify objects in the application?