Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
Answers were Sorted based on User's Feedback
Answer / yogi
if objects are dynamic nature..
if object repository not exists..
if we dont want OR..
| Is This Answer Correct ? | 4 Yes | 0 No |
if Team Size is big
if objects are dynamic
if it is require to start automation before build release
it is easy to use
it is easy for maintance
it is independent of QTP versions
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / errajeshmangal3@gmail.com
IF No. of same type objects are present on page and seems to be object repository gets loaded . in that cases also we use descripting programming.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn
Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me
What is contained in the object repository?
What is the limitation to XML Checkpoints?
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
how to choose the framework in qtp ? 2)when we go for the descriptive programming ?
Which recording modes need more memory?
What is the script for database check point, bitmapchek point, regular expression ?
any one can send me the concepts of qtp
How you can write contexts to text file in qtp?
How to map the test cases to requirements in QC?