Welcome to the sixth guide in our Quick Test Professional learning series. To review, we have embarked on the online learning article series for Quick Test Professional and intend to cover a majority of the guides with straightforward examples to aid you in understanding the concepts.
=> Proceed Here for the Quick Test Professional Training Tutorials Series
Recommended IPTV Service Providers
- IPTVGREAT – Rating 4.8/5 ( 600+ Reviews )
- IPTVRESALE – Rating 5/5 ( 200+ Reviews )
- IPTVGANG – Rating 4.7/5 ( 1200+ Reviews )
- IPTVUNLOCK – Rating 5/5 ( 65 Reviews )
- IPTVFOLLOW -Rating 5/5 ( 48 Reviews )
- IPTVTOPS – Rating 5/5 ( 43 Reviews )
Earlier tutorials have honed in on Quick Test Professional’s Keyword view, which was essential in apprehending a Quick Test Professional test’s structure and introducing methods to modify tests to meet our requirements.
At present, we are prepared to fully record our initial test.
In upcoming tutorials, we will emphasize this process. Today’s subject is the first phase in this process, namely the “Record and Run settings”. We will delve into why it is crucial and how it can influence a test.
What You Will Learn:
Record and Run Settings Dialog
When Quick Test Professional is initiated and we opt to record a new test, the “record and run settings” dialog pops up.
Alternatively, this window can be accessed by opting for the “Automation -> Record and Run Settings” option from the menu. In our instances, we have stuck with the default settings, but now we will delve deeper.
This is what the dialog appears like:
As the title implies, this is where you can set parameters aiding you in crafting and implementing a test via recording.
Quick Test Professional can record and run tests on either a windows app or a web app. The web tab is available only when the web add-in is chosen to be loaded at startup. This tab caters to Web, .NET Web Forms, PeopleSoft, and Web-based SAP objects.
Hence, there are 2 tabs to stipulate settings for each of these environments. If a Siebel add-in is installed and loaded during startup, a separate ‘Siebel’ tab becomes accessible.
Let’s examine the ‘Web’ tab initially.
“Web Tab” On Record and Run Settings Dialog
The default settings are exhibited in the picture above. This setting infers that the target of the record operation during a record session could be any of the web applications already launched in a browser.
Quick Test Professional can be directed to disregard certain web pages like QC or any other page with a distinct URL or title. You can navigate to “Tools -> Options ->Web” and stipulate those pages in the ensuing Quick Test Professional dialog:
However, if you select the next option “Open the subsequent address when a record or run session begins,” then the corresponding elements on the screen become enabled.
This is how it appears:
Any page’s address can be entered, and your preferred browser can be chosen. Below is a list of the browsers that Quick Test Professional 11 supports.
Only the browsers that are supported and presently installed on your device will appear on the list.
The record and run settings can also be set using Environment variables. We will expound on these later as we haven’t advanced to that point as of now.
Just a quick note, if the environment variables URL_env and Browser_env are set, they will supersede the URL and browser selected in the “Record and Run Setting” window. We will address the creation and usage of these variables later.
“Do not record and run on browsers that are already open” – If this option is picked, any browsers opened before recording and running, as well as before launching Quick Test Professional, will be overlooked.
It’s as if these browsers do not exist for Quick Test Professional as you can’t even spy on these pages to view the objects. In other words, these browsers are completely disregarded and deemed inaccessible to Quick Test Professional.
“Close the browser when the test closes” – If this option is picked, the browser on which the record and/or run session was conducted will be closed when the test concludes.
“Windows Tab” on Record and Run Settings Dialog
This tab caters to Windows-based applications. The default option is to record and run on any opened Windows app.
If the “Record and Run only on” option is selected, the other options beneath it become activated.
- Applications launched by Quick Test Professional: When selected, only the applications launched due to an invoke operation enacted by Quick Test Professional are chosen for recording.
- Applications launched via Desktop (by Windows Shell): This option selects the application launched from the Windows desktop.
- Applications detailed below: Opting for this option opens another window where you can specify a particular app to be launched by Quick Test Professional at the onset of a record or run session.
As you can observe from the window above, the path of an application and its folder can be added, and Quick Test Professional will open that particular app during recording and/or running.
That wraps up a brief introduction to diverse record and run settings that can be employed for a Quick Test Professional test. When testing a web app, ensuring that the correct settings are incorporated in the Windows application tab is also crucial.
This is integral to avoiding unwarranted application launchings and accidental modifications to already open Windows applications. Note that the settings in the Windows tab do not directly influence the testing on the web app.
Thus, the recommended settings for the Windows tab when testing a web app are:
Once these settings are configured, the test recording commences. Any action implemented on the test will be recorded in Quick Test Professional. You can halt the recording by clicking on the “STOP” option in the Quick Test Professional menu once you have completed all the distinct steps on the AUT.
The recorded steps can then be re-performed on the AUT by selecting the “RUN” option in Quick Test Professional. The Run operation will invoke the application (web or windows) based on the set specifications.
Conclusion
This forms the basis for conducting elementary steps on the AUT using Quick Test Professional. Nonetheless, in reality, this alone is inadequate. Testing involves verification and validation, so we will need to adjust these basic lines of code to incorporate checkpoints and programmatically assess particular conditions.
In forthcoming articles, we will discuss these checkpoints and best methods for efficient test creation.
=> Go Here for the Quick Test Professional Training Tutorials Series
If you have any queries about Quick Test Professional or any of the previously mentioned tutorials, please do not hesitate to post them in the comments below. If you have any proposals to enhance these tutorials, please get in touch with us.