03-12-2009, 08:26 AM
[quote='Rajashekar Gouda' pid='2420' dateline='1216208760']
1)Since we have record and play back option then why do we need user defined functions and VB scripting in qtp.
We need to start developing the QTP script at the same time as the developers.In that case, we have just the name of the objects and we need to manually create the QTP script.
VBscript also comes in handy, if we need to use the regular expressions.
User defined functions help us to make our script more robust.A part of script that gets repeated can be written as a function.This makes our script short, fast and creates less objects in our repository.
2) When we can go for automation of an application, i mean at what pont of time we can go for automation.
We can go for automation testing of our script only when our script is stable.
3) What are the different methods to skip an action in QTP.
Comment it out in Keyword view
1)Since we have record and play back option then why do we need user defined functions and VB scripting in qtp.
We need to start developing the QTP script at the same time as the developers.In that case, we have just the name of the objects and we need to manually create the QTP script.
VBscript also comes in handy, if we need to use the regular expressions.
User defined functions help us to make our script more robust.A part of script that gets repeated can be written as a function.This makes our script short, fast and creates less objects in our repository.
2) When we can go for automation of an application, i mean at what pont of time we can go for automation.
We can go for automation testing of our script only when our script is stable.
3) What are the different methods to skip an action in QTP.
Comment it out in Keyword view