Hi,
Is there any way to verify radio button is checked?
Hello,
In my angular2 application, copying text from text box and pasting data in search text box through recorded step but it is not working. can you please help me.
here am attaching screen shot in that 22 and 26 steps are the recorded copy, paste steps.
Thanks,
Pranavi
Hi,
Whenever I try to either calibrate on run tests on Chrome I get an unexpected error.
Here is the relevant log:
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from process 3132: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Desktop.exe" False "C:\Users\dalmaso\git\automacao-ui-clicq" /trial
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1)] First trace message from foreground thread "Application start thread" (managed ID = 1, native ID = 21140).
[09/08 09:21:52,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] TestExplorerController.ExecuteCommand() : EXCEPTION! (see below)
Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
Message: All running browser instances must to be closed.
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
em ArtOfTest.WebAii.Core.BrowserConfiguration.EndRunningProcesses(String processName)
em ArtOfTest.WebAii.Design.UI.RecordersController.PromptToCloseRunningBrowserInstances(String processName)
em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteScenario(ExecutionType exeType, Boolean debuggerEnabled, IntPtr existingBrowserHandle, IList`1 selectedExecutionSteps, Boolean showBrowserSelection)
em ArtOfTest.WebAii.Design.UI.TestExplorerController.ExecuteCommand(ICommand command, Object parameters)
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:33,Telerik.TestStudio.Desktop.exe(3132:1),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 55.0.0.3 (x86) installation found at "C:\Users\dalmaso\programas\firefox36\firefox.exe".
[09/08 09:23:41,Telerik.TestStudio.Desktop.exe(3132:1),TestStudio] BrowsersViewModel.CalibrateBrowser() : EXCEPTION! (see below)
Outer Exception Type: ArtOfTest.WebAii.Core.BrowserConfigurationException
Message: All running browser instances must to be closed.
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
em ArtOfTest.WebAii.Core.BrowserConfiguration.VerifyAllProcessesAreClosed(String processName)
em ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeConfiguration.ConfigureBrowser(String& error)
em ArtOfTest.WebAii.Core.BrowserConfigurationUtils.ConfigureBrowser(BrowserType browser, String& error)
em ArtOfTest.WebAii.Design.UI.BrowsersViewModel.CalibrateBrowser(BrowserType browser)
We are currently trialing the product and it works fine for other colleagues and on EC2 Windows Server, but not for me. I have reinstalled both Chrome and Test Studio, not sure how to proceed next.
Regards,
Gustavo
Hi. I am experiencing trouble with connecting to a frame element. Attached is a log with a comparison to the definition of the frame element. As you will see, the frame has a unique id so I would think that would be used to find the frame element. I did not have the UseQuery option checked, yet the log indicates that it is.
When I run this script "live", stopping execution just before connecting to the frame, and re-record, the first step inside the frame is recorded against the correct element inside the frame element. But if I just execute the script, it fails when attempting the first step inside the frame, as denoted in the log above.
Any help you can provide would be much appreciated! Thanks.
Briar
Hi Team,
I need to verify whether the hand effect is displayed when hovering over the mouse on a HtmlListItem. I tried below code piece but it's not capturing the hand effect of the mouse.
System.Windows.Forms.Cursor.Current == System.Windows.Forms.Cursors.Hand
Regards,
Harsha
Using Test Studio Ultimate, I am testing an application that sends a variety of emails that require user interaction with the Email contents (clicking links, for example). Unfortunately Gmail is an absolute mess in the DOM, and trying to find anything by ID/Class is virtually useless. At this point, the best solution I have come to is using XPath to locate elements.
When running through a bunch of iterations of my test (user setup, email notification + interaction, back to web app) the Gmail part will fail about 1/10 times on the XPath lookup. The main issue seems to be with how Test Studio reads and converts the HTML to XML, then parses it to try and find the specified XPath query. In the test failure log, I don't get a full log dump. It seems to be several hundred lines of logs from existing tests, then it dumps a HUGE (~2000-8000 lines) XML content from the Gmail page into the log, and then it fails out each level of testing.
The 2 primary functions I'm trying to handle are:
- Get email contents based on the subject
- Click the link generated, which is stored in an email message
First off, is there a way to work around the error in Test Studio? Most of the time it works properly, so I'm not sure how to troubleshoot the intermittent failure.
Secondly, is there a better way than XPath to try and locate page elements in Gmail? (Eventually the dev team will implement other ways of handling the email contents, but that will be months down the road.)
I don't have logs at the moment; I will save them the next time I see a failure.