Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Descriptive Programing? In which cases, we will go
for descriptive programing?

Answers were Sorted based on User's Feedback



What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / ashish srivastava

1.When you do not want to use the Object Repository and
want to sepcify the property value of an object by writing
on the script.In that case we use Descripting Programming
(DP)

2. When we want to create function inthe external file such
as class File Library then we use descriptive programing.

3. When we know the property value of the object that are
use in the application by the developer ,so we can start
writing the script before the application come to the AUT
(Application Under Test).In that case we can use
descriptive programming

4. When we want to reduce the size of the Object Repository
In that case we use descriptive programing

Is This Answer Correct ?    7 Yes 1 No

What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / mahabooob

The Objects in the application are dynamic in nature and needs special handling to identify the objects ,The best example would be of clicking a link which chages acording to the user of the application.
When the objectrepository is being huge due to the number of objects being added to the application ,if the objectrepository is increase too much decrease the performance of the qtp in order to identify the object,
when the application is not developed at,writing the scripts for application is application to be up,or if we no the descriptions of the objects we can starthem of the early stage.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What are the benefits of qtp?

0 Answers  


I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime

10 Answers   IBM, Wipro,


I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.

4 Answers   TCS,


can anyone explain about the Descriptive programming in detail. I mean how to use in the script.

1 Answers  


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

0 Answers   Tech Mahindra,


What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?

4 Answers  


how to add run-time parameter to a datasheet?

1 Answers   Mphasis, Ordain Solutions,


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

0 Answers   GXS,


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

0 Answers  


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.......

1 Answers  


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

0 Answers  


I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next

3 Answers  


Categories