Contributions
Web application automation issue with two browser sessions using KeyWord tests
HI All, Please help me with you solution for the below automation scenario for a web application. 1. Launch IE browser with an URL. 2. Login page displayed. 3. Enter the user-id and password, click SignIn button. 4. Small popup window displays confidentiality info with "Acknowledgement" button. 5. User clicks "Acknowledgement" button. 6. It displays another browser session with "Application Under Test" which is a web based application. 7. From here onwards, user will enter the personal information like name, address etc and navigates thru many pages to create an account. I have recorded the above steps in TestComplete using a KEYWORD test. But while replaying the recorded test, it is failing at the STEP 6 onwards. It appears, the test is not recognizing the other browser session with AUT displayed. Please help me with your suggestions/ solutions. SB596Views0likes2CommentsRe: Capture objects manually & write code using readily available methods.
Thanks again! As per my understand, we need to write the code manually starting from the top level hierarchy in TestComplete as below, right? For example, 1. Aliases.Orders.MainForm.Exists() >> Here user using "Exists()" method which is readily available. 2. Aliases.Orders.MainForm.OrderBtn.Click() >> Here user using "Click()" methodwhich is readily available. If I have captured 10 objects for one of the test scripts in "Unit1" then, I need to write the code as in the example 1 and 2 starting from the top level heirarchy - "Aliases", right? In the other test automation tools, if user selects object from the object map, right click and select the option "Insert at the cursor", the tool enters the code and automatically like "btnOK." when user enters "." after the object, it displays all the methods available. I asssume, this kind of option is not available in the TestComplete.1.7KViews0likes2CommentsRe: Capture objects manually & write code using readily available methods.
Thanks Robert for your reply with lot of useful information. As I am new to this tool, still I am trying to understanding on capturing the objects and using the methods associated with that object. 1. I am able to capture the object on the web page using "Object Spy" but trying to find the way to view all the methods for that object and use it. I do not want to record the script and would like to write from the scratch like starting the IE browser, navigating to the URL, click on the link, setting the text etc., Please find the attachment for details and help me.1.7KViews0likes4CommentsCapture objects manually & write code using readily available methods.
Hi Friends, I like to do the following task using TestComplete tool. 1. I like to capture the objects on the web page manually say button, link or image etc. 2. Then, I like to write the code using readily available methods like "Click", "SetText" etc., I am using IE browser. How do we do that? Thanks, SBSolved1.7KViews0likes6Comments