Telerik Forums
Test Studio Forum
1 answer
59 views
Hi, 

Anywhere I can download the new beta release for April?

Thanks
Anthony
Telerik team
 answered on 02 Apr 2012
2 answers
57 views
I have Silverlight modal window in my application. If I open it pop-up window is defined by Telerik but my actions in this window can't be defined by recorder.
Nothing is recorded if I act in modal Silverlight window.http://screencast.com/t/NxyoWZJcnv
Ivaylo
Telerik team
 answered on 02 Apr 2012
1 answer
60 views
Hello. I'm a new Test Studio user, now using a trial version,
Can anybody advice me, how i can manually, in code, set current step as failed?

Thank you.
Eugene

Ivaylo
Telerik team
 answered on 30 Mar 2012
1 answer
81 views
Hello,

I have a general enquiry.

I need to know whether it is at all possible to resolve an Image verfication failure.

I am currently trialling Test Studio v2011.2.1413.0.

Also, I have noticed that when I open the Failed test step and the Step Failure Details page opens that I cannot see the Resolve Failure tab.  How do I activate this so that it displays?

Cheers


Anthony
Telerik team
 answered on 30 Mar 2012
7 answers
132 views
I need to Click on a link using an Expression rather than the Element. The href has a id reference that changes for every test. Since I can control the Text content, I figured that I should be able to find the string and then click on it. This will also allow the script to be data driven.

Here is what gets recorded:
Pages.HttpLocalhostTestHtml.SubmissionTwoLink.Click(false);

Here is some code that I have tried.
//HtmlFindExpression  submission = new HtmlFindExpression("TextContent=Submission Two");
//submission.Click(false);
             
//HtmlAnchor sumission = new Find.ByExpression<HtmlAnchor>("TextContent=Submission Two");
 
//HtmlAnchor submission = Find.ByExpression("TextContent=Submission Two");

I have attached a sample page, the link will result in a 404 error.
Stoich
Telerik team
 answered on 30 Mar 2012
1 answer
60 views
Hi, 

Is there any forms of "code report", ie, a report on how each step is done? 
This is more or less a tech report aiming toward test developers, so that we can clearly see all the details regarding each step. 

Is there any?

Thanks
Anthony
Telerik team
 answered on 29 Mar 2012
1 answer
91 views
Hi everyone, 

Do you have any establish practices to name the Coded Step?

Thanks

Anthony
Telerik team
 answered on 29 Mar 2012
4 answers
95 views

Hi, 

I'm following the 
Data Driven Find Expressions
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/data-driven-find-expressions.aspx 

But got the following error:

(CS1061) 'TestProj.Pages.TelerikExtensionsForASPPage' does not contain a definition for 'UnorderedList' and no extension method 'UnorderedList' accepting a first argument of type 'TestProj.Pages.TelerikExtensionsForASPPage' could be found (are you missing a using directive or an assembly reference?)

Does that mean that I have to install the TelerikExtensionsForASPPage before following the Data Driven Find Expressions example? 

Thanks


Ohsha
Top achievements
Rank 1
 answered on 28 Mar 2012
5 answers
86 views
Hi,

In my test recording project, there are two Silverlight elements, SilverlightApp and SilverlightApp0. 
But in fact there should only be one, all recorded from the same process. 

I don't know why the same page get recorded into two elements, but keeping them both instead of one will have negative impact on the maintenanceIs there any way for me to consolidate them into one? 

Thanks
Ohsha
Top achievements
Rank 1
 answered on 27 Mar 2012
4 answers
118 views
Hi,
I am trying to figure out a way in which i can use data driven from an excel sheet to repeat a sequence of steps.
Attached is the html view and below code which i am using. The RED tick in the attachment is the text (Product -Gain/Loss) which i would like to enter and pick from an excel sheet. Similarly for each repeat sequence different text will be picked up from an excel sheet.

The below code helps me get the correct text value and perform a click event some times and sometimes it gives an error . But even if it works for the first iteration it gives an error when it moves to the second iteration to pick the second text value from the excel sheet.


HtmlDiv e = Find.ByExpression<HtmlDiv>("id=ReadyToUse_Reports");
string SelectedReport = Convert.ToString(Data["B"].ToString()).Trim();
HtmlAnchor a = e.Find.ByContent<HtmlAnchor>(SelectedReport, FindContentType.InnerText);
              or
HtmlAnchor a= e.Find.ByContent<HtmlAnchor>(SelectedReport, FindContentType.TextContent);
Assert.IsNotNull(a);
a.Click();


Can you guys help me on this please?
Thanks,
Santosh
Ohsha
Top achievements
Rank 1
 answered on 27 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?