how to write vbscript on web applications in qtp. explian
with one example?
Answers were Sorted based on User's Feedback
Answer / shyam.meghansh
systemutil.Run("http://www.rediffmail.com")
set BRO =Description.Create()
BRO("title").Value = "Welcome to Rediff.com India"
BRO("name").value ="Welcome to Rediff.com India"
BRO("openedbytestingtool").value= true
Set PG =Description.Create()
PG("title").value="Welcome to Rediff.com India"
PG("url").value="http://www.rediff.com/index.html"
Set UN =Description.Create()
UN("name").value= "login"
UN("Class Name").value ="WebEdit"
UN("type").value= "text"
UN("html tag").value="INPUT"
Set PWD =Description.Create()
PWD("name").value ="passwd"
PWD("Class Name").value="WebEdit"
PWD("type").value="password"
PWD("html tag").value="INPUT"
Set Login =Description.Create()
Login("name").value ="Go"
Login("Class Name").value="WebButton"
Login("type").value="submit"
Login("html tag").value="INPUT"
Login("value").value="GO"
Login("class").value="rmailgobtn"
temp= Browser("Welcome to Rediff.com").Page("Welcome to
Rediff.com").WebElement("ShockwaveFlash1").Exist
If temp= true Then
'Browser("Welcome to Rediff.com").Page("Welcome to
Rediff.com").WebElement("ShockwaveFlash1").
End If
Browser(BRO).Page(PG).WebEdit(UN).Set "shyam_sad"
Browser(BRO).Page(PG).WebEdit(PWD).Set "shyam"
Browser(BRO).Page(PG).WebButton(Login).Click
This is for DS.... for VB script u need put this is one
notepad and save it as .vbs file and run it
Is This Answer Correct ? | 18 Yes | 11 No |
Answer / shyam.meghansh
Any more question mail me testingwithshyam@gmail.com
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / raghavenderraj
need clear information.if any one knows ans to this plz
forward
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / ajreddy
Hi
Using Vb script language u can write scripts in Descriptive
programing
Example u want to open Gmail acoount for that script is
systemutil.run "www.google.com"
Is This Answer Correct ? | 2 Yes | 6 No |
Describe how Smart Identification is used
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
What is FRAME WORK? How many Frameworks can QTP supports?
How QTP recognize the object??how to add objcts into object repository??
Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance
unique properties of button,edit box, radio button,check box?
how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks
hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...
who will distribute the project modules for testing in testing team ?
What is synchronization? What are the ways you can synchronize?
explain qtp framework by taking an example?
How to make arguments optional in a function?