anybody give me the real time example for descriptive
programming of web application
Answers were Sorted based on User's Feedback
Answer / shyam.meghansh
DP is advance topic in QTP. With out loding obj in repo...
we can access them..... this is one of the example for that
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 "7shyam"
Browser(BRO).Page(PG).WebButton(Login).Click
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vvgiri2k6
dp means without using repositury tool will identify the
object using property values.
ex browser("name").page("name").webbutton("name")
for this line descriptive program is
browser("window id:=1005").page("window
id:=22").webbutton("window id:=787")
we can use any property but that should be unique
here i used window id like that we can use any propery.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rama
web appication testing means testing the external
link & internal link of the web page.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lakshmanalal kintali
the idea behind the descriptive progrmming is not bypass
the odject Repository but helps the recognize dynamic
objects.in D.P u don't store the object and its properties
values in O.R but mention the properties values in directly
on the script
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lakshmanalal kintali
the idea behind the descriptive progrmming is not bypass
the odject Repository but helps the recognize dynamic
objects.in D.P u don't store the object and its properties
values in O.R but mention the properties values in directly
on the script
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shah
I used descriptive programming when the object's property values are changing dynamically. I used descriptive programming when I am supposed to start testing before the build is deployed. or when I don't want to add objects in the object repository for e.g, I was testing a web application and it has 10 pages that are integrated with each other and each has three buttons (ok, cancel, and help) if I add those buttons in the object repository I have to add 30 objects so instead of adding it to object repository I used descriptive programming.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nash
Descriptive programming means nothing but loading the object
respository by writing code not by recording..
| Is This Answer Correct ? | 0 Yes | 3 No |
Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
what is the difference between call to copy action and call to an existing action
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
How can i count the list box elements in QTP ?using script plz explain me (Chandana)
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
Explain the differences between table and db checkpoints?
Waht is User interface and Integration Testing?
Give me some real time point of way where exactly we can conduct audits?
what is impact analysis on regression testing?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.