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.1KViews0likes3CommentsRequest adding CSS Selector to extended properties in Object Browser
Please expand Extended Properties to include CSS Selector (if available). I use CSS Selectors 99% of the time to identify web controls for TC. Sometimes overlaying web controls make it difficult to determine the exact control needed for inserting text, finding text, Child Count, etc. Being able to inspect the properties desired and having the CSS information on the same screen would prevent guesswork with 100% accuracy in copying the Selectorand promote speed in coding... at least for me.1.4KViews6likes2CommentsContent in <div> HTML Tag not shown
Hi everyone! I use SoapUI at work since 6 months ago and recently I have a problem. I have been looking for an answer with no success! As a preparation step in my tests, I have to check the state of my server. For that, we have some websites available. That is to say: I need a simple GET step in order to retrieve the info from the website. I've already donde that butthe problem is that the most important info from the website comes inside a <div> HTML Tag, but SoapUI shows no content in the response (neither in the XML tab nor in the Raw tab). I mean it's just empty.I don't know exactly the reason. What I mean it's: Raw request: GET https://myserver.com/path/ HTTP/1.1 Host: myserver.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) Raw Response: HTTP/1.1 200 OK Date: Wed, 01 Apr 2015 12:34:30 GMT Server: Apache-Coyote/1.1 Cache-Control: private Expires: Thu, 01 Jan 1970 01:00:00 GMT Content-Type: text/html;charset=ISO-8859-1 Content-Length: 554 Set-Cookie: JSESSIONID=ASDFTWRE9898KJSFSDFHOERPWPUT; Path=/path/; HttpOnly Connection: close <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Server Status</title> <link rel="stylesheet" type="text/css" href="/path/css/default.css" /> <script type="text/javascript" src="/path/js/jquery-1.11.0.min.js"></script> <meta http-equiv="refresh" content="0; url=path" /> </head> <body> <div id="wrapper"> </div> </body> </html> The page looks normal in any web browser. It's just not working in SoapUI. I think it's some kind of a problem with CSS or the the div Tag, that might not be support :? Can anybody help me? I would deeply appreciate it! thanks!1.2KViews0likes2CommentsServing an HTML Page
Is there any way to serve an HTML page to the user using a swagger generated server in golang? I've been looking online and through the docs for some way to do this and haven't found anything that's led me to a solution. I've also tried injecting the code normally used to serve html pages into the middleware stacks but to no avail. Help would be much appreciated, thank you.