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 |
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
can somebody send the script to write a multiplication table in notepad through qtp
where we save the scripts created in one project?
WHY U CHOOSE TESTING FIELD?
Which version of QTP is using by companies nowadays?
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.
What are the types of Object Repositories in QTP?
It is very difficult to test in manual for that we go to DATA DRIVEN TEST.
With out using the task manager,how to close the application using vbscript and what is the statement?
what type of automation is follwed in the project?
How to associate shared object repository to test in qtp?
Can anyone please explain me the process of automating an application using QTP as i am new to this?