Posts: 83
Threads: 16
Joined: Jan 2008
Reputation:
0
07-16-2008, 05:16 PM
Can any one explain in detail about my below questions
1)Since we have record and play back option then why do we need user defined functions and VB scripting in qtp.
2) When we can go for automation of an application, i mean at what pont of time we can go for automation.
3) What are the different methods to skip an action in QTP
Regards
Raj
Posts: 71
Threads: 1
Joined: Jul 2008
Reputation:
0
07-23-2008, 01:57 AM
1)Since we have record and play back option then why do we need user defined functions and VB scripting in qtp.
ok Consider a Scenario where u need to automate but the application is still in developement
at this point your automation effort will be purely descriptive programming u will get all the object name from the developement team and start your automation...
2) When we can go for automation of an application, i mean at what pont of time we can go for automation.
Once your Requirement is freezed you have your test plan and test cases u can start your automation ......
3) What are the different methods to skip an action in QTP
Can u Explain the Question little more.Action is like a function if u want to skip it dont call it
For example if your Question is for the following scenario..
the test runs like this a1-->a2-->a3
a1,a2,a3 are actions
In case during the run u want to skip a2
the only way i see is :
1)go to keyword view
2)right click on action -->delete
3)Delete the Selected call to the action
The action will still be there but the it wont be called in the test
Posts: 57
Threads: 2
Joined: Feb 2008
Reputation:
0
07-26-2008, 02:07 AM
Or in expert view just comment out the action.
Posts: 5
Threads: 0
Joined: Feb 2009
Reputation:
0
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
Posts: 4
Threads: 0
Joined: Mar 2009
Reputation:
0
04-03-2009, 10:50 PM
4>if u want to skip action 2 i-e a2
In action a2 write exitaction[/u]
Posts: 2
Threads: 0
Joined: Jun 2009
Reputation:
0
06-26-2009, 03:01 AM
(This post was last modified: 06-26-2009, 03:03 AM by REVATHI.)
Could you pls let me know any one looking for QA jobs in USA because Im also looking jobs in USA so i want parner for discussion about qa openings...
Hi Kishore, Can u pls explain before starting testcases what are the documents needed.
Posts: 5
Threads: 0
Joined: Jun 2009
Reputation:
0
06-26-2009, 02:40 PM
3) What are the different methods to skip an action in QTP.
a. ExitAction(<ActionName>): this line is used when you want to exit from the specified action.
Posts: 1
Threads: 0
Joined: Sep 2009
Reputation:
0
09-17-2009, 05:39 PM
(This post was last modified: 09-17-2009, 05:42 PM by sanumca.)
In an interview I was asked a question--"There is a submit button at the bottom of the page,if the button is moved to some other position on the page then does your script will run or not? "
Can we merge two shared object repository to using scripting?If yes then pls let me know.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
09-17-2009, 06:11 PM
Hi Sanumca,
Please open a new thread for your also please put one query per thread (Refer Posting guidelines)
Do not post in a thread which is quite old and does not relate with your query.
!!Thread is closed now!!