Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Recording Prob in QTP within the QTP forums, part of the Software Testing category; While recording in QTP, no script is being generated, neither in the tree view nor in the expert view. What could be the problem?.It is happening sometimes,not all the time(Browser ...
|
|||||||
|
|||
|
Recording Prob in QTP
While recording in QTP, no script is being generated, neither in the tree view nor in the expert view. What could be the problem?.It is happening sometimes,not all the time(Browser IE)
I appreciate your help! Thanks, Mahi |
| Sponsored Links |
|
|||
|
Re: Recording Prob in QTP
When you start recording your tests, a dialog box appears with the named 'Record & Run Settings'. Check the Web Tab. The radio button Record & Run on any open web browser SHOULD be selected.
|
|
|||
|
Re: Recording Prob in QTP
QTP will not identify the browsers, which were opened earlier. ie, QTP identifies only those browsers which were opened after opening QTP application.
|
|
|||
|
Hi,
It might be due to cache problem, the pages are not getting download properly. Try to refresh the page. Hi, It might be due to Cache problem. Try to refresh or delete cookies and record again. Thanks Syed Last edited by jainbrijesh; 05-19-2007 at 04:43 AM. |
|
|||
|
Re: Recording Prob in QTP
Hi Ravikantha,
No matter of number of open browsers if we use descriptive programming (by using browser title and creation time). Also, we can write some code to close all opened browsers before opening the AUT (Application under test). Regards, SM Ganesh |
|
|||
|
Re: Recording Prob in QTP
Here is the script to close all browsers:
========================================== Dim oBrowser Set oBrowser=Browser("name:=.*","index:=1") Do while oBrowser.exist oBrowser.close Set oBrowser=Browser("name:=.*","index:=1") Loop ========================================== Regards, Ganesh |
|
|||
|
Re: Recording Prob in QTP
Hi Ganesh, Thanks for the answer given. But, I feel your first answer ("QTP will not identify the browsers, which were opened earlier. ie, QTP identifies only those browsers which were opened after opening QTP application".) is correct, rather second one. second one is correct only when, we will write the script...It's not related to RECORDING SCRIPT....(As per I know, Descriptive Programming is used, when we do not have application ready but have an idea on requirements...) Correct me if my observation is wrong...
|
|
|||
|
Thank you Ganesh!!
Hi Ravikantha Gowd, No matter whether it is recorded script or descriptive programming, QTP will not recognize any browsers that were opened before opening QTP. This is for sure. Regards, Ganesh Last edited by jainbrijesh; 05-19-2007 at 04:44 AM. |
|
|||
|
Quote:
I think therr's a disconnect regarding this. I tried recording a Browser which i had open before the QTP window. It records. BUT it is recording only when a fresh link is opened. As per the Recording problem is considered.... Just go to Test->Record and Run Settings.... and select the 1st radio button in all the Tabs. This is enough Last edited by jainbrijesh; 05-19-2007 at 04:43 AM. |
|
|||
|
Re: Recording Prob in QTP
Whether QTP should recognize any open browsers or not, it depends on run settings, which a tester set by himself.So, we can't say that QTP will not recognize any browsers that were opened before opening QTP.Yes, we can instruct QTP to do so, which we generally do in most of the cases knowingly or unknowingly.
__________________
-- Brijesh Jain |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error While Recording in QTP | Shivanna | QTP | 4 | 06-23-2008 02:44 PM |
| i-Sound WMA MP3 Recorder turn your computer into complete audio recording studio. | JobHelper | Geeks Lounge | 0 | 01-25-2007 12:00 PM |