ContributionsMost RecentMost LikesSolutionsRest response does not return updated data from serverI am sending a rest request to a server that is continously updating data. In SoapUi, I send one request, wait for some specified period of time and send a second request. For example, imagine an application that is tracking the growth of a lottery value. If I send a request to this app, I expect to get a value at that time. If I wait 20 seconds and send the request again, I expect the value to have increased by some number. Similarly, in the application I am testing, I should see the same behavior. However in SoapUI, the data in the request is not updated. I have set the cache definitions to false and also included a custom HTTP header for Cache-Control: no-cache. The test step in SoapUi look like this: Rest Request Delay 10000 Rest Request Is there something I'm missing?NameMapping Issue I have a problem with NameMapping. I have 4 environments where my script will run. http://qa01-environment/app/play.html http://qa02-environment/app/play.html http://qa03-environment/app/play.html http://qa04-environment/app/play.html Each page has the exact same objects, an image, and text field, and a button. I recorded a script test in the first environment. In the NameMapping, I changed the page object URL to a wild card. I am passing the URL in a variable to the toURL method. I expect the test to work for each of the environments. It only works for the first environment. For the others I get this error: An error occurred while calling the "SetText" method or property of the "textboxUsername" object. The object or one of its parent objects does not exist. Tested Object Alias: Aliases.iexplore1.pagePlay1.table.cellGraybg.table.cell.table.formLoginfrm.cell.table.cell1.textboxUsername Mapping item: NameMapping.Sys.iexplore1.pageWagerworks1.table.cellGraybg.table.cell.table.formLoginfrm.cell.table.cell1.textboxUsername Missing Object Alias: Aliases.iexplore1.pagePlayworks1 Mapping item: NameMapping.Sys.iexplore1.pagePlayrworks1 Why does the object mapping not exist past the page object if all I'm doing is changing the URL? Is TC 7 forward compatible with VS2010The IT team in my company has upgraded to TFS 2010 and TC 7 can no longer connect. Does TC 7 support TFS 2010?MappedNames dissapeared from the object browser properties paneToday all of a sudden. in the object browser, the MappedNames in the properties pane disappeared for all the objects in my flex application. The MappedName field is blank! TestComplete stopped running the tests with object not found errors. Thinking that somehow I may have deleted the object mapping by mistake, I went to the NameMapping editor and noticed that all my objects are there. I right click on the top most level of my objects, just below the object called iexplore, right click on try to view the object. but I get the message "The underlying object does not exist". What would cause the object browser to loose the name mappings? How can I get them back? I noticed that if right click on iexplore object, the top most of object, I have the option to map child objects. if Ido this, will TC map according to the naming convention used when I originally recorded my scripts? What about names that I changed and mapping that I did manually instead of recording?Getting text from a tool tipI am testing a flex application. I have an edit field, visible in the object browser, but what I cannot see in the object browser is the tool tip when I hover the mouse over the field. How can grab the text from the popup?Test Engine Event QuestionsI am succesfully exporting logs to a directory in a specified location. I am using the OnStopTest to trigger the exporting of the log, but the event is triggering the export after each test item. So if I have 32 test items, I will have 32 logs exported. What is the best way to trigger the exporting of the log after all test items are run? On the same note, I am also using OnStarTest to run pre-condition routines to set up the test. The same problem occurs this event as each test item starts.Database OptionsI have a large query I use to access an Oracle database to do some clean up operations after my script is done running. I have a few question on the best route to do this: 1. Open an ADO connection to a Oracle database and run the query. This option seems easy enough, but the query is over 30 lines long. Can I use the ADO connection and excute the query from a file? If so, how would that work? 2. The other option is to use SQLPLUS from TC as I was reading the article about Oracle operations although it doesn't tell me much about how SQLPLUS and TC interact to execute these operations. It seems I need Automated Build Studio??? http://www.automatedqa.com/support/viewarticle.aspx?aid=1411 3. Lastly, the easiest by far is to write a batch file that makes a connection via the command line to the database and calls my query. This is basically what I was doing in WinRunner. However, How do I run an executable file, like a .bat file, from TC?Unable to click on a ListItemI have a list object 'List(0)' mapped as 'List1'. The list object can contains ip to 20 ListItems. When I try to click on the ListItem, TC will click on the item below or above the item, but never in the specified item. To make sure I search and find the correct listItem name, I use a search string like this in the listItem name where 'contactID' is variable that contains the string I am searching for: objPage.List1.ListItem("*_auto"&contact_ID&"_*").setFocus Using .setFocus to test that at least it can select the correct ListItem, TC can highlight it, but when I use .Click, TC clicks either below or above. Any ideas what is going on? Supress Log Messages or Catch failuresI am running the following routine to close all open browsers at the beginning of my tests. The function performs as expected, but when the loop no longer encounters a browser, it writes an error to the log: "Process not found" The problem is that the error causes the entire report to show there was an error in the test. How do I supress the routine from writing it to the log so that the rest of my tests show as green if they pass? Function fCloseAllBrowser() Do While Sys.Process("iexplore").Exists Sys.Process("iexplore").Close 'Kill the process Loop End Function Re: How to move up or down on web pageDavid, The application is not compiled using Adobe's automation API's. The reason for this is because we are using dynamic libraries for the flex app to reduce the footprint and improve performance. Instead, we are using MSAA to access the objects in the application. Using TC in this configuration reduces the accessibility to the objects, but we have successfully been able to automate most of the applicaiton. I believe the question I have would also be a problem even if we did use the automation API's. I have attached 2 screenshots. The screen has 60 + checkboxes. Each one has to be checked or unchecked. Checkboxes can easily be manipulated when visible to TC. When maximizing the browser, the first half shows. This half is visible to TC. The second half you need to somehow get down to make it visible for TC to recognize the rest of the checkboxes. You could use the drag method and use the scrollbar to get to the bottom half of the page. Is there a method that is available that will be like something similar to page down or page up keys to make the bottom half visible?