what is advantage of descripting programming in QTP?
Answers were Sorted based on User's Feedback
Answer / test
Example:Using descriptive prog.. execution will be fast when we rush to complete 3000 cases to 3 days
In the same situation, if we use repository, it takes more time..
using descriptive execution speed will be more
Disadv: Re-engineering is a problem for desciptive
| Is This Answer Correct ? | 9 Yes | 0 No |
Before u understand the concept of descriptivness programming first of we need to understand behavior of qtp in normal progarming.in normal programming first qtp understand the scripting statement then decide what action need to perform on which object.then i will go to object repository then searching for information.so maintenance is easy.
in descripting language the objects are identified in test plane only.so main advantage is performance is good rather than descripting language.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nitin sharma
Descriptive programming allows you to work with objects that
are not stored in object repository.For Example If we have
so many same name link in the application then we have no
option other than DP to find out their numbers and url.More
while DP is used when application is dynamic and object
description changes frequently.
| Is This Answer Correct ? | 1 Yes | 0 No |
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?
what is purpose of automation?
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
What is object & properties (in QTP)
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......
Who is the best faculty for QTP in Hyderabad? Is it Mr. G.C.Reddy, some are referring his name?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
why text area checkpoints cannot used for web applications
VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...
What is environment variable in qtp and why to use it?
Which scripting language used by quicktest professional?
We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?
5 Answers Accenture, Banca Sella, Polaris,