Telerik Forums
Test Studio Forum
1 answer
129 views
Ok, I create tests... sometimes... it'll tell me it can't find the test list i just created... so I have to close out of Test Studio, re-open it,. and then it'll usually find it this time....

Then I go to view the scheduled tests and previously run tests... and click "Reload from Server", and I constantly receive a message box stating, "Getting results from server failed! Please make sure the server is active." The server is running on the same machine, and yes... it's still running....

Another thing... when I go to delete previous or future tests, sometimes... i have to delete, reload, they re-appear and delete them again several times... either the scheduling software is VERY BUGGY... or I have something CONFIGURED WRONG.... I really hope it's the latter... as I really need the scheduling to work... :)

One other thing... the "Reload from Server" button gets grayed out pretty often... only solution I've found is to close and re-open app... very frustrating...

Thanks in advance!
Anthony
Telerik team
 answered on 17 Apr 2012
5 answers
181 views
This is driving me crazy, I've deleted all test results, and test lists... re-created them several times,... tried renaming them... and yet whenever I schedule a test to run, it fails every time... it doesn't even make it to first step.... not sure what's going on... see screen shot... this is what I am getting...
Plamen
Telerik team
 answered on 13 Apr 2012
1 answer
42 views
Are there any known issues with the Safari 5.1.2 browser compatibility. I have one of the coded step in which I am getting the HTML table and traversing through its rows. Once I find matching row, I am selecting the checkbox from the row. This code is working fine for IE, Firefox and Chrome. So just wanted to check if there are any known issues with Safari?
Anthony
Telerik team
 answered on 12 Apr 2012
1 answer
51 views
Support,

Bug tracking advanced settings pop-up hiding from view on New R1-2012.

Please see attached sample video.

Thanks,
Madhu.

Anthony
Telerik team
 answered on 12 Apr 2012
1 answer
48 views
I looked for either how to or demo video clips for the new load/stress testing add on...

I'm not seeing them, did I miss them or are they coming?
Thanks
Dan
Anthony
Telerik team
 answered on 12 Apr 2012
2 answers
57 views
Hi,

My situation:
  1. I created a data driven test case and test it independently, as a main test, bound to an Excel data source.
  2. In this test, the data is bound to some list box selection.
  3. Works perfectly and the list boxes are selected according to the data set.
  4. I converted this test case into a sub test to increase usability and maintainability of the test cases
  5. I have enabled the "InheritParentDataSource" check for the test.
  6. I have removed the data binding for the test.
  7. I have created a main test case and bound it to the same set of Excel dataset
  8. I execute the sub test as a test step in the main test.
  9. Now, the list box selected does not follow the dataset anymore.
  10. I checked the sub test again and couldnt see any differences.
  11. I "Customize Test In Code" those listbox selection steps and realize something interesting.

If the sub test is bound to the data set, when i customize the step in code, I see:

Pages.MyPage.MyFrame.MyListBox.SelectByText(CType(System.Convert.ChangeType(Data("MyField"), GetType(String)),String), true)

If the sub test is not bound to the data set, when i customize the step in code, I see:

Pages.MyPage.MyFrame.MyListBox.SelectByText("XXXXX", true)

Is there some other settings I need to set for the sub test to get the result I want? Or is still going to be a future enhancement? If so, what is the temporary workaround you can advice?

Thanks

Teng Geok
Top achievements
Rank 1
 answered on 12 Apr 2012
2 answers
88 views
My test functions correctly in Chrome and IE. The functionality is there in Firefox, however two of my steps include drag and drops.  For some reason Firefox resizes itself upon initialization of the drag portion of the step, which in turn moves the target area and creates a failure in the test.  How do I keep firefox from changing from full screen to smaller pop up size mid test?
Byron
Telerik team
 answered on 11 Apr 2012
2 answers
292 views
Hi,

I am recording a scenario for an intranet application which uses the windows authentication and doesn't have login page. When I record for the regular user role scenario and then separately record for his/her supervisor role, the tests record and execute as expected.
But if I try to record complete scenario into one test of opening the browser with regular user and performing certain actions and then closing the browser to login as supervisor, doesn't work, as TS understands the close of browser as end of test and doesn't take recordings for Supervisor role.
So, I recorded them separately and then copy+pasted them to one single test. Now, executing would not close the browser after first login and fails while trying to key in the credentials of the supervisor.
Hand coding to add  ActiveBrowser.Close(); helped in closing the browser forcibly, but not able to manage how to open the browser for next login.

Any straight settings or work-arounds?

Thanks,
Ravi
Ravi Prakash
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
355 views
How could I return some parameter from 1 method and use it as input parameter in another method?

I have 2 methods and need to communicate between them
    [CodedStep("Copy and convert Contact URL")]
    public string Copy_ContactURL()
    {
      // Copy URL of current Contact
      string contactURL = ActiveBrowser.Url.ToString();
 
      // Convert URL     
      var nameValueCollection = HttpUtility.ParseQueryString(contactURL);
 
      string[] paramArray = { "preloadcache", "pagemode", "rof", "extraqs" };
 
      for (int i = 0; i < paramArray.Length; i++)
      {
        nameValueCollection.Remove(paramArray[i]);
      }
      contactURL = HttpUtility.UrlDecode(nameValueCollection.ToString());
 
      return contactURL;
    }
 
......
    [CodedStep("Open Contact")]
    public void OpenContact(string contactURL)
    {
      ActiveBrowser.NavigateTo(contactURL);
    }
Stoich
Telerik team
 answered on 11 Apr 2012
5 answers
186 views
I am following the instructions from this thread to validate a hyperlink exists on a web page of search results, however the object being returned is null.  I do not need to click on the link, just verify that there is one link on the page that contains the string from 'WorkItem'.

Am I using the code correctly or is it not designed to find the string among characters (like Substr or Mid)... :|

Any other tips would be great.  Thanks much!
HtmlAnchor a = ActiveBrowser.Find.ByContent<HtmlAnchor>(Data["WorkItem"].ToString());
if (a != null)
{
    Log.WriteLine("Found - " + a);
}
else
{
    Log.WriteLine("Not found");
}
Alan
Top achievements
Rank 2
 answered on 10 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?