Hi Telerik Team,
I am trying to read data from a HTMLTable type control. The frame in which this control is placed is using a dynamic query. IFrmae src property is displayed as: <partial url>?mode=<static string>&ID=<dynamic number>
Due to this I am not able to identify the frame and getting error as:
Waiting for frame '[Frame:src=~<partial url>?mode=<static string>&ID=<dynamic number>,UseQuery:True]' timed out. Error: Wait for condition has timed out
I tried to executing the code by setting ‘UseQuery’ attribute to ‘False’ in element explorer. But it was causing problems as there is similar frame being used on different page of my application. In that case the src=<partial url> property is same for both the frames so I cannot set ‘UseQuery’ attribute to ‘False’.
Is there a way I can handle the dynamic id generated for the Frames Query string?
To make a long story short, I was following examples that I found online (mostly from these forums) where people were trying to programatically handle dialogs, and in most of those threads, "Manager.DialogMonitor.Start();" and "Manager.DialogMonitor.Stop();" were being called before and after (respectively) the dialog was handled in the code. As it turns out, though, once "DialogMonitor.Stop();" is called, the DialogMonitor cannot be started again, which is why only the first iteration of my test was working.
Now that I think about it, most of those threads were probably posted by people using the TestStudio VS Plugin as opposed to the Standalone version. Regardless, I never saw any mention of the fact that explicitely stopping the DialogMonitor in the Standalone version would render it unable to be started again. As I also found out, it doesn't need to be explicitely started in the Standalone version either, but that's besides the point.
I did notice that in the TestStudio Standalone Documentation, the Start/Stop methods aren't included in the examples, but at the time, I presumed that was for the sake of brevity and merely glanced over it. Perhaps I'm just blind, but in my humble opinion, it should be more obvious that these two methods should not be used when working with the Standalone version (presuming that the issue I ran into isn't a bug). It may be a small issue, but it killed much of my productivity for a day.
Hi Telerik Team,
for the automated tests I want to generate a unique data for testing. I am creating a record in my application for which the Record Name must be unique so that it would be easy to search. To generate unique record name I am appending DateTime value to the ‘Record Name’ I am reading from input xls via a coded step.
Though I am able to create a new record having unique name by appending Datetime, while searching I want the exact name which I had entered while creating a record. I have declared record name as a class level variable. So I can access it in all the coded steps. But the search functionality has all recorded steps. How can I use a class level variable from a coded step, in the data driven recorded step?