Telerik Forums
Testing Framework Forum
1 answer
199 views

Hi,

Dialog Monitor code for handling windows authentication dialog is not working on Win 10 (both IE and Edge). It hangs on logon dialog and not proceed further.

It is working fine on all other browsers.

Code to handle Logon Dialog:

manager.DialogMonitor.AddDialog(LogonDialog.CreateLogonDialog(BrowserManager.MyManager.ActiveBrowser, "" + Domain + @"\" + UserName, @"" + Password, DialogButton.OK));

manager.DialogMonitor.Start();

manager.ActiveBrowser.NavigateTo(@"" + URL);            

See the attached screen. It hangs on this popup screen. We are using 2017.1.207.0 version of telerik testing framework.

-Raju

Nikolay Petrov
Telerik team
 answered on 06 Apr 2017
3 answers
138 views
Hi there,

The following code fails in IE9 in our Web app tests. We are using the latest WebAii version.

Manager.Desktop.KeyBoard.KeyPress(Keys.Delete, 100);

Manager.Desktop.KeyBoard.KeyPress(Keys.F2, 100);
Manager.Desktop.KeyBoard.KeyPress(Keys.Enter, 100);

Nothing actually happens i.e. the delete key, F2 or Enter key is not being pressed.

Please give a solution on how to resolve this issue?

Thanks,
Sri

 

 

 

 

 

 

 

 

 

 

 

 

 


Nikolay Petrov
Telerik team
 answered on 03 Apr 2017
3 answers
276 views

In the web app I'm testing, there is a button which appears multiple times on a page, attached to dynamic objects. There is no identifier for each unique instance. I want to click a specific instance of it, but the identifier for this button is in a sibling section of the HTML.

Simplified model:

<div class = "whole">
      <div class = "top">
             <p title = "Identifier"></p>

      </div>
      <div class = "bottom">
             <button>ButtonIWantToClick</b>

      </div>

</div>

Is there a way to use nested finds to determine which button to click, and if not, what might be the best way to tackle it in code?

I've done some digging in the forums to see if there was a solution to this specific issue. I'm new to Telerik, so here's to hoping that there's a reasonably simple way of achieving what I want to do.

Thanks in advance.

Nikolay Petrov
Telerik team
 answered on 15 Mar 2017
1 answer
113 views

We are installing Telerik Testing framework on our controlled environment on top of our controlled environment for testing.

Would like to understand, on installing the Telerik testing framework does it impact any OS settings or IE settings

 

Elena
Telerik team
 answered on 02 Mar 2017
3 answers
404 views

I am trying to click a menu items in a span as attached in a screenshot. The same below code to find an item by XPath works in selenium but not in telerik testing framework. Can some one tell me why?

--Telerik Code that does not work. Gives null menu.

  Element menu = myManager.ActiveBrowser.Find.ByXPath("//span[contains(text(),'some text')]");

myManager.ActiveBrowser.Actions.Click(menu);

---Selenium code that works. 

driver.FindElement(By.XPath("//span[contains(text(),'some text')]")).Click();

Elena
Telerik team
 answered on 09 Feb 2017
9 answers
190 views
HI 

I am trying to install the exe version of testing framework , but I am getting some issues while installing , WHen I spoke to one of the team member he was referring me to download the msi version , But I dont find the MSI version

Could you please provide me the MSI version of the testing framework?

Thank you
Vamsi
Elena
Telerik team
 answered on 03 Feb 2017
1 answer
137 views

I'm trying to simply open a project using the stand alone application via git.  Clicking on Test Studio>Open directs me to the location in which my project files are listed but no matter what I select, it just takes me to the end of the file without opening anything.

 

Attempts to open using source control are also unsucessful via git.  WHen asked to browse for folder ... it's the same result but this time ending in "folder already exists and is not an empty directory".  Creating a new folder does nothing, just says "Git Source Control:  Error connecting to Git repository:  Request failed with status code:  401".  But yet it says I'm already connected to the repository.  What am I missing here?  Apparently i can only open Recently worked on or viewed projects.

Elena
Telerik team
 answered on 23 Jan 2017
3 answers
152 views

Hello,

I am doing research on web automation. I have found Testing Framework during my research. I have tested it using ASP.NET and it is working sometime on development and it was throwing error sometime also when I hosted this site on IIS it was not working completely.

Can anybody help me please how to configure application on IIS? 

Does it work on IIS?

Below code is working for Chrome only. It is not working on IE and Firefox 

                Settings settings = new Settings();
                settings.Web.DefaultBrowser = BrowserType.Chrome;
                Manager manager = new Manager(settings);
                manager.Start();
                
                manager.LaunchNewBrowser();
                manager.ActiveBrowser.NavigateTo("http://www.google.com");

Please help.

Thanks,

Bhavin Panchal

Elena
Telerik team
 answered on 20 Jan 2017
1 answer
241 views

Hi,

After updating to the newest version of Telerik Testing Framework new automation IDs are not recognised. The old ones (created before the update) work, but the new ones that I have added are not recognised and when the tests are run and I recieve an "element not found" error.

I think I am adding in the ID correctly (this is how I always used to add them in before). Please see the example below:

What is written in the Xaml:

<ListBox AutomationProperties.AutomationId="Menu_Model_Type_ListBox"
                                         Height="Auto"
                                         MaxWidth="250"
                                         ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                         ScrollViewer.VerticalScrollBarVisibility="Disabled"
                                         HorizontalAlignment="Stretch"
                                         ItemsSource="{Binding ModelTypes}">
                                    <ListBox.ItemTemplate>.....

 

What is written in the Test:

ArtOfTest.WebAii.Controls.Xaml.Wpf.ListBox modelTypeListBox =
               app.MainWindow.Find.ByAutomationId<ArtOfTest.WebAii.Controls.Xaml.Wpf.ListBox>("Menu_Model_Type_ListBox");

 

 

Any idea what could be causing this error? These elements are definitely there (and of the correct type etc.).

Many thanks in advance for your help.

Best regards,

David

Nikolay Petrov
Telerik team
 answered on 19 Jan 2017
2 answers
134 views

RadMaskedTextInput: how to insert value in it using Test Studio, I need to raise the valuechanged event so that other button on UI will be enabled.

 

Thanks,

Kanwar

Elena
Telerik team
 answered on 18 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?