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 |
What is the difference between local and shared object repository in qtp?
how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases?
3 Answers Accenture, Civil Service, ICICI, Jintek, Satyam, Singularity, Syntel, TCS, Wipro,
Is any limitation to xml checkpoints?
What is source control?
can u tell me website address of VBscript with examples.
How will you check a web application for broken links using qtp?
Please give me the steps to carry out datadriven in QTP8.2
one ok button and one text box is there.when i click on ok button in that text box one no. will display from 1 to 100 randomley.if that is not 100 when we click on ok button again ,again another text box ll created with another no. we will continue this till the text box created and displays 100.and when its 100 ok button should disabled. remember thet no will display not seriely ,it displays randomley,and each time new text box will created.
How will you enchance the script?
suppose u have two send buttons(same width,height,font) on an application write a descriptive programming
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
Can I record on netscape browser does it require any special settings ?