Telerik Forums
Test Studio Forum
3 answers
68 views
Hi, we have an application in ExtJS and we are doing tests to attempt login. During the execution all steps are good and text is entered for username and password but the condition for enable the login button is false, so we can't progress. We got the same problems when we execute a test list scheduled and sometimes text is not entered. Is the execution too fast? Could you help us?

Roberto
Ivaylo
Telerik team
 answered on 07 Nov 2014
5 answers
144 views
Hi Telerik Team,

I have existing trial projects that have reference to System.Data. However, just recently, I tried to add a new project, I encountered an error regarding missing directive for System.Data. I looked at the references of the new project, and the System.Data is not included. I tried to add reference to it but it was not reflected in the project references. Do you know a workaround for these?

Much thanks,
Kristine
Ivaylo
Telerik team
 answered on 07 Nov 2014
1 answer
76 views
I have created tests by adding excel data binding. The tests work fine. But if I try to run the same tests after a gap of like 2 months, somehow the bindings are lost and my tests pick up data from some other excel workbooks in the project. I have to go back and bind the every step with the data again. How do I resolve this? Can anybody help please?
Ivaylo
Telerik team
 answered on 06 Nov 2014
5 answers
72 views
Hi
I´m using Test studio with Visual Studio 2010 and exporting the Storyboard to html.  Is it possible to modifie export templa with my companies logo and custom text?

cheers
Eyjolfur Bjarnason
Boyan Boev
Telerik team
 answered on 05 Nov 2014
3 answers
257 views
Hi,

I have 2 sites of similar page structure. Here i need to navigate to another page from home by clicking on "first" link (menu option) from left-pane. I am not sure of the name of the link or it's href value. But i have to click on the first link from left-navigation-pane. The link in first site might be completely different from second site. Can i locate this element by using it's 'UL' index in the left pane ?

For the 1st site's element XPath was - /html[1]/body[1]/form[1]/div[2]/div[1]/ul[1]/li[2]/a[1]
For the 2nd site's element XPath was - /html[1]/body[1]/form[1]/div[3]/div[4]/div[1]/div[2]/div[1]/ul[1]/li[2]/a[1]
So i have tried element finding logic as 'XPath' - 'StartsWith' - /html[1]/body[1]/form[1] & 'XPath' - 'EndsWith' - /div[1]/ul[1]/li[2]/a[1]
But the telerik is unable to locate the element as there are other links at the  bottom of the page matching with the same above logic.


Could somebody please help me with this ? I should be able to run the same script/steps in 2 sites.
Thanks in advance

Boyan Boev
Telerik team
 answered on 05 Nov 2014
14 answers
233 views
Hello,

I have the following coded step that identifies a specific image I'm looking for and then clicks on it.  After clicking, I need to handle a dialog box, but I don't believe there is a way to call a regular step from a coded step from what I've seen so far.  So I'm trying to find a way to use this coded step to iteratively find and click on each image, break out to a regular step to handle the dialog, and then repeat the process until all of the images I'm looking for have been clicked.

I set an extracted value of "Repeat" to either "True" or "False" within the coded step.  Is there a way to execute a regular step logical loop based on this value since it's independent of any target on the screen?

Thanks for your help!
Tori

// Find the "Void" (Delete) image gif and click on it.
   
ReadOnlyCollection<HtmlImage> VoidImages = ActiveBrowser.Find.AllByAttributes<HtmlImage>("src=~delete.gif");

if(VoidImages.Count == 0)
    Console.Out.WriteLine("Void Image Not Found. . .continuing. ");

int Count = 0;

foreach(HtmlImage i in VoidImages)
    {  
        Count = Count + 1;
        Console.Out.WriteLine("Image Count = " + Count);
    
        if(i.IsVisible())
            {
            i.ScrollToVisible(ScrollToVisibleType.ElementTopAtWindowTop);
            Log.WriteLine("Visible Void Image Found:  " + Count + " " + i.Src + " clicking! ");
            Console.Out.WriteLine("Visible Void Image Found:  " + Count + " " + i.Src + " clicking! ");
            HtmlImage VisibleImage = i;
                               
            if(Count == VoidImages.Count)
                {
                SetExtractedValue("Repeat", "False");
                Console.Out.WriteLine("Last image, stop looping.");
                Log.WriteLine("Last image, stop looping.");
                }
            else
                {
                SetExtractedValue("Repeat", "True");
                Console.Out.WriteLine("More images remaining, keep looping.");
                Log.WriteLine("More images remaining, keep looping.");    
                }
            VisibleImage.Click();
            break;    
            }    
  }








Cody
Telerik team
 answered on 04 Nov 2014
1 answer
35 views
Hi,
the last few days my remote tests have been executing normally (I can watch them on the scheduling machine) however when I view the results on my client machine it shows that no tests in the test list have been run. Does something on the execution machine need clearing out ?


Thanks TOm.

client version: 2013.1.806.0
Ivaylo
Telerik team
 answered on 04 Nov 2014
3 answers
65 views
How do you do a verification step at the end of a login test, if the login link has the person's name instead of the word Login?

thanks

Wade
Ivaylo
Telerik team
 answered on 03 Nov 2014
3 answers
130 views
Good Morning,

I have been having an issue connecting my recorder to a modal popup window. I have attempted to read through the forums, and unable to connect or get the proper step to connect to the pop-p dialog window.

I have read this article: Modal Telerik

I am attempting to record the Planning Unit dialog window which appears when the Edit Planning Members is selected.

I do not see the "Modal Popup" in the properties window for my step.
If possible how can I add it in or add it in as a dialog window..

Thanks again for your help.
Ivaylo
Telerik team
 answered on 03 Nov 2014
2 answers
92 views
 Click 'Div'

The highlighted area is combo box created using ext.net, when we recording in test studio it find as a click 'div', but after recording when execute test case its click event execute outside.

 Click 'ExtGen5728Div'

This id is generated in recording time, after execute this test case its id has been changed. because id is changed every time when we insert new row.


 Click 'x8LegalListItem'
Cody
Telerik team
 answered on 02 Nov 2014
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?