Hi,
As attached, I am having hard time just to select quick steps for a element in browsers. It just keep missing when go to the menu. I am newbies to this and what is the right ways to do this? I am using trial version of Telerik Test Studio in Windows 10 environment with IE11 and Chorme 47.xxx. Appreciate your assistance here.
Hello,
I have three dropdown menus in my webpage. I use test studio to test them but the selected option in the third dropdown always becomes empty after I select it. So that I cannot do any operation on the selected option.
Please advise!
Thanks!
Hello
Is it possible for a new tab or a new browser window to be opened as part of the execution which keeps the same session accross both? Or is there a way of closing the original browser and opening up a new one with the same session?
I have tried the blind mouse click and navigate to pop up window but none seem to work - i may well be missing something from these.
Any help would be great.
Thanks
Maria
Hello. I use the Run Selected Steps option repeatedly in one test run, working through test steps a set at a time. I've noticed that as different web pages are opened in the run, whether they open by default with recording or paused recording mode varies. If I don't pay close attention, often I end up recording steps when I don't intend to and almost as often, they are recorded in a different part of the test script and thus trip me up later. Is this default something a user can control? Shouldn't the test run start with the default of paused recording and then stay consistent with the user's selection from there?
Your help on this would be much appreciated. Thanks!
Briar
I'm trying to make Test Studio verify that if a WPF app has no licence, it prompts for one when it is started. I've got that working, but I want to add a step that deletes a licence file from disk before the app is launched.
What is the best way to add a step that will delete a file from disk? Is there a better way of doing this? (I'm new to Test Studio, and Automation in general)
I have the following step: Wait for element 'Div' 'is not' visiable.
Running the test it waits 30 seconds and then fails because the element is still visible. So, I increase the timeout time to 60000ms by enabling UseStepWaitOnElement property. However, the test continues to fail because it is still waiting 30 seconds. I tired running the test in a Test List and using the global ElementWaitTimeout setting with no success.
I can't seem to figure out why this step continues to wait 30 seconds even when changing the WaitOnElementsTimeout or the global ElementWaitTimeout setting.
Could this be because the element is a Div? If that is the case, could you recommend a possible work around?
Thanks in advance.
Hi,
Just wondering if I can build into every a step a global wait for a particular property on an element, e.g. "IsVisible = false" on "AutomationId=BusyIndicator". I want to do this without having to insert this step wherever it is needed, but rather specify it globally somewhere and have all of my steps wait for this condition automatically. Does such a feature exist?
Cheers
Having recently set up a scheduling server and when running scheduled test lists, the DOM and the associated runtime images at the point of test failure are not available. The log entries indicate the file path for these files is invalid:
"[12/07 10:40:32,Telerik.TestStudio.ExecutionManagerService.exe(4312:53),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Windows\TEMP\ 130939764253142044_files\eReg ProjectInfoPage CUP NWFWMD_0_ImageOnFailure.png
[12/07 10:40:32,Telerik.TestStudio.ExecutionManagerService.exe(4312:53),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Windows\TEMP\ 130939764253142044_files\eReg ProjectInfoPage CUP NWFWMD_0_DomTreeOnFailure.txt"
How do I set up the correct file path? Any direction on how to resolve this error would be much appreciated!
Thanks,
Briar
Hello,
Sorry in advance if I didn't format this correctly, first time poster.
I'm currently working on developing tests to read omniture tags being sent from websites to Site Catalyst database. Most of these calls occur on page load or through certain button clicks i.e. "add to cart" and must have their data captured and verified after going through a proxy. Based on previous forum posts I've been able to build a coded module that has Telerik start a proxy, then goes to the site, then checks the calls for the host under which the omniture call is made and captures that data.
My problem occurs whenever there are multiple calls that happen from the same button. Currently I can only capture 1 call, and it's random which one will fire first, so I need to be able to see both, capture both, then check if the values are correct.
I've attached the following:
HTTP proxy module I built that starts the proxy and also contains methods to click on certain buttons and listen for the calls then returns a dictionary
The Dictionary Lookup module defines methods that allow the us to compare key value pairs in the dictionary with our asserts.
WebTest(1) which puts all these steps together.
Below is the method I use to click on the "add to cart" button and wait for an omniture to be made and stores the data in a dictionary and returns it. I feel like this is what I need to modify in order to capture two calls instead of just one.
public Dictionary<string, string> ClickAddToCartButtonAndListen()
{
found = false;
Console.WriteLine("Omniture Url: " + omnitureUrl); //DEBUGGING
// Add our HTTP response event handler. For each response the proxy gets, parse for the Omniture URL's query string parameters
ResponseListenerInfo li = new ResponseListenerInfo(GetQueryStringParamatersAndValues);
Manager.Current.Http.AddBeforeResponseListener(li);
// Click 'Add to Cart Button'
Pages.OfficialVailVailLift.Button.Click(false);
// Wait for the page to completely load
Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();
Manager.Current.ActiveBrowser.WaitUntilReady();
Manager.Current.ActiveBrowser.WaitForAjax(15000);
// Wait for '1000' msec. (this is to conpensate for the Omniture pixel being one of the last things called
System.Threading.Thread.Sleep(1000);
// We don't need the event handler any longer. Removing it stops listening to responses in the proxy
Manager.Current.Http.RemoveBeforeResponseListener(li);
return dictionary;
}