Unable to Click Dynamic Button Link on Refreshing Page
Windows: 10 TestComplete Web: 12.42 Firefox: 52.0.1 I'm experiencing difficulty in writing a Keyword test to click on a link located on dynamic page thatrefreshes every 15 seconds. In this example the link is a "Back" button. Can someone assist? I've put the source info below and attached the object's property and method information. If possible, I'd like to solve this via Keyword test instead of a written script. The project's base language is VBScript and it needs to work with Firefox 52 and IE 11. I understand that I may need to use "QuerySelector"; however, in a Keyword test I'm unsure how to use itto assist inclicking the dynamic link. DYNAMIC FULLNAME EXAMPLES: Sys.Browser("firefox").Page("https://page.com/console/controllers/Counts?which=&rate=&zone=AAA").Panel(0).Panel("in_dialog_bottom").Panel(0).Link("back") Sys.Browser("firefox").Page("https://page.com/console/controllers/Counts?which=&rate=&zone=AAA&t=1521573680.191").Panel(0).Panel("in_dialog_bottom").Panel(0).Link("back") SOURCE: <!DOCTYPE html> <html> <head> <link rel="shortcut icon" href="https://page.com/console/images/OTM_icon1.ico" /> <link rel="stylesheet" href="https://page.com/console/css/pure.min.css"> <link rel="stylesheet" href="https://page.com/console/css/ui.jqgrid.css" /> <link rel="stylesheet" href="https://page.com/console/css/jquery.ui.core.css" /> <link rel="stylesheet" href="https://page.com/console/css/jquery.ui.menu.css" /> <link rel="stylesheet" href="https://page.com/console/css/jquery.ui.autocomplete.css" /> <link rel="stylesheet" href="https://page.com/console/css/jquery.ui.resizable.css" /> <link rel="stylesheet" href="https://page.com/console/css/jquery.contextMenu.css" /> <link rel="stylesheet" href="https://page.com/console/css/jitBase.css" /> <link rel="stylesheet" href="https://page.com/console/css/Spacetree.css" /> <link rel="stylesheet" href="https://page.com/console/css/main-darkly.css" id="theme-css" /> <title id="title">Counts with Refresh Rate: 15 seconds</title> </head> <body class="pure-skin-darkly"> <input id="hidden-clipboard-helper" style="position: absolute; margin-top: -1000px"></input> <!-- Before dialog-main because using absolute position and to hide red if large html in middle --> <div class="dialog-bottom"> <div id="in-dialog-bottom" class="button-bar"> <div class="text-center"> <a id= "back" class="pure-button" href="https://page.com/console/controllers/HomePanel?zone=AAA">Back</a> </div> </div> </div>Solved2.1KViews0likes3CommentsLoading Property Values Dynamically from a File
I need to load a section of my request dynamically each time. I created a property at the test case level called Message ( ${#TestCase#Message} ) and added a Property step that is supposed to read the value from a file. There are 3 steps in my test case: Load the Message property (the value of the property is defined in the file) Execute the request (inserts the property value into the request) Property Transfer (returns the response status) The request has the property name substituted for the dynamic section.However the value is not read when I execute the test case, it only contains the value from when I manually execute from the Property step editor. It merges the property request into the request just fine, and the property transfer is also working, but the value is static and not dynamically loaded. How do I get it to update the property value every time I execute the test case? I am using an external tool that interfaces with SOAP UI so I want to stay away from scripting, just want to use standard SOAP UI steps. Screen shots attached, any and all help greatly appreciated!Solved1.5KViews0likes1CommentUse dynamic parameters for TestItem
Hey, I would like to structure my test sequence via TestItems in TestComplete. But I ran into one problem: I want to start my TestItems (TI) out of the script with dynamic/changing parameters. Is this possible? I could not figure out, how to hand over a variable to the TI. Thank you for your help.Solved1.3KViews0likes1Comment