take one exmple and write on that discriptive programe in
qtp?
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 "7134999"
Browser(BRO).Page(PG).WebButton(Login).Click
| Is This Answer Correct ? | 2 Yes | 0 No |
Who is the best faculty for QTP in Hyderabad? Is it Mr. G.C.Reddy, some are referring his name?
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
Write a QTP script to enter a keyword in to Google search engine?
How to creating an output value using quicktest professional?
What is the diffrence bettween QTP 9.0 and QTP 9.1?
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...
How to Set the Global Sync Timeouts in QTP?
Can I change properties of a test object?
Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable
When a requirement is given to u to automate , What is ur basic approach ?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
how can i use text check point in descriptive programming. or else is there any way to compare the text in the application and the text in data table.