Telerik Forums
Test Studio Forum
1 answer
37 views
I have 2 login test that are identical, the difference being the credentials used (internal vs external user). I will eventually data drive but for now I am hardcoding the credentials. The problem I am facing is when I update the credentials for one test, the credentials for the other gets updated as well. How do I make my updates applicable to just one test?
JR
Top achievements
Rank 1
Iron
 answered on 22 Feb 2023
1 answer
48 views

I have a scenario where I need to verify data based on timezone selected. For eg:

1) If the timezoneId: 'Europe/Athens' then show Label "A"

2) If the timezoneId: 'Europe/London' then show Label "B"

So let me know how I can change timezoneid from Test Studio itself to verify correct label.

Elena
Telerik team
 answered on 17 Feb 2023
0 answers
77 views

Is there a way in a coded step to accomplish the ELSE clause below?

LOOP (10) Times

IF element not present

Refresh to see if element becomes present

ELSE

Coded step to set for iteration to max so no more loops occur (or break out through other means without erroring)


Is there a way with a coded step to accomplish the ELSE clause above? I would like to fast-forward the LOOP iteration to the end by overriding the current iteration value with 10 once the element exists? Because of the required refresh, I can't just wait for it to exist.

I have workable solutions with both LOOP and WHILE, but both have drawbacks. The FOR doesn't require coded steps (only a simple coded step if the above ELSE is possible) but fills the log with iterations that don't do anything. The WHILE stops once my condition is met and doesn't do the excessive logging but requires far more complicated coded steps. This approach would be hard for me to teach to our test writers who, for the most part, are not code developers.

Thank you.

Todd
Top achievements
Rank 1
Iron
 asked on 27 Jan 2023
1 answer
104 views

Hi Everyone,

I had installed previous version of test studio and then updated to its latest version 2022.3.1013.2 but after updating to its latest version when i am trying to add Microsoft.Office.Interop.Excel.dll through script tab of settings dialog in test studio, it's not reflecting/adding in reference.

Please let me know if anyone faced same issue or you know any resolution to fix this issue.

Plamen Mitrev
Telerik team
 answered on 22 Nov 2022
5 answers
584 views
Hi,

I have a line in my test - "Verify 'TextContent' 'Contains' '#Supp Name' on 'SearchValueTextArea'" that is passed in IE and failed in Chrome.

In Chrome, I entered text "#Supp Name" in the text area and I inspect the element 'SearchValueTextArea' , this is what I see

<textarea id="SearchValue" placeholder="Search" rows="1" cols="20" class="initialisableControl clearabletextarea initialised" data-t1-control-type="Placeholder" style="overflow: hidden; height: 16px;"></textarea>

As you can see, the value "#Supp Name" is not captured.

Whereas the same test in IE, I see below in the F12 Dev Tools  

<textarea class="initialisableControl clearabletextarea initialised placeholdized placeholderHidden" id="SearchValue" style="height: 16px; overflow: hidden;" rows="1" cols="20" data-t1-control-type="Placeholder" placeholder="Search">
        Text - #Supp Name

I tried others Attribute verification e.g. OuterMarkup/ Inner Text but it is still not working.

I talked to our developers. He advised that I might be able to get around by doing something like "SearchValueTextArea.value()". May I ask if you have any other solution rather than writing a line of code in my test script?

Please advise. Thank You.

Plamen Mitrev
Telerik team
 answered on 07 Nov 2022
1 answer
155 views

Hi,

I tried to run the test list on Remote VMs but its failing, the message 

SendInput: Failed. Win32Error: 
InnerException:
System.ComponentModel.Win32Exception (0x80004005): SendInput: Failed. Win32Error: 
   at ArtOfTest.WebAii.Win32.Win32NativeMethods.SendInputInternal(Input[] inputData)
   at ArtOfTest.WebAii.Win32.Mouse.HoverOver(Int32 x, Int32 y, Boolean useExecutionDelay)
   at ArtOfTest.WebAii.Win32.Mouse.HoverOver(Point pointToHoverOver)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DesktopActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------

Is there any way to fix the issue ?

 

Thanks

Plamen Mitrev
Telerik team
 answered on 03 Oct 2022
1 answer
63 views

Hi Team,
We are encountering this issue for quite a while now and have not been able to find a solution for the same.
We are trying to create a test list with 4-5 tests. All the tests were originally tested and all were passing, but after adding them to the list and running the list, we encounter issues in random steps spread throughout the entire list.
Even after debugging them, we face a different set of failures that weren't happening earlier. There also have been situations, where the entire list passed without any failure, but we are not able to understand the root cause for this inconsistency.
Is there any solution to resolve this behavior?

Thank You.

Plamen Mitrev
Telerik team
 answered on 21 Sep 2022
1 answer
62 views

Hi,

I have testcases missing from my project folder, does anyone know how i can recover them?

1 answer
95 views

Hi Team,

We are trying to enter some data for a certain set of cells, but the Test Studio Application is unable to locate the intended cells. The automation starts to select random unwanted cells resulting in incorrect entries. And in the end, the application incorrectly states that all our steps were successful.

We tried multiple methods-1. Using the left double click option, 2. Using the right arrow key, 3. Using the tab key. But none of them lead us to the correct position.

Below we have attached a zip files containing images for all the stages and the intended result.

Thank You

 

 

Plamen Mitrev
Telerik team
 answered on 14 Jul 2022
8 answers
321 views
I am recording automated tests on a Silverlight 4 application.  I am able to easily select a control and verify text on the control.  However, one of my textblocks has a date.  I need to verify that the date is current.  How would I do this?  The build verfication and Quick Tasks options on the recorder seem to only work on text values.  I tried to Re Code Test Studio's Build Verification step, but I am having no luck.  Please let me know if you have any ideas about how to verify a date in Silverlight.
Girl
Top achievements
Rank 1
Iron
 answered on 29 Jun 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?