recording is not a good programming practice.How to write
effective script without recording.Which is the correct
method explain in detail

Answers were Sorted based on User's Feedback



recording is not a good programming practice.How to write effective script without recording.Which..

Answer / rajanikanthreddy

In qtp we are having descriptive programmming..with using
object properties and values qtp idintify the objects
ex...browser("name:=google").page("title:=google") like
that we are identifying object...here we are not using any
memory(repository) this is use of descriptive
programming...try it

Is This Answer Correct ?    3 Yes 2 No

recording is not a good programming practice.How to write effective script without recording.Which..

Answer / deven

Yes, Recording is not a good practice effective scripting
is

1. Writing VB Script and Descriptive programmming

2. Use different types of Frame work in your project

3. Use Expert view for VB scripting

4. Use more Function Library

5. Use Constants (public)

6. Use Subroutine

7. Follow the Standard Programing practice

8. Use conditional, logical operator in scripting

Is This Answer Correct ?    1 Yes 0 No

recording is not a good programming practice.How to write effective script without recording.Which..

Answer / srini

Question is wrong..How can recording is not good practice ?
It's always depends up on the application under test.If the application is stable like SAP, or desktop applications, Descriptive programming is time killing..recording is much easier and time saving..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1 Answers   TCS,


Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.

2 Answers  


I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..

3 Answers  


in qtp how can we do test when the build is not ready

3 Answers   Mindlance,


How to parameterize in QTP?

4 Answers  


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1 Answers   Infosys,


when u script reveiwing in which area u more concentrates?

1 Answers   IBM,


whai is meant by automation testing?

6 Answers  


You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario

6 Answers   ADP,


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1 Answers  


What are the general steps involved in the data driven framework?

1 Answers  


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1 Answers  


Categories