Telerik Forums
Testing Framework Forum
2 answers
11 views

Hi there,

I'm having problem clicking a button. This website is using Kendo UI so I was wondering if that makes it different for testing.

 

After I select a file to upload, there is a remove button displaying right next to the file.(Please see removebutton in attachment for more details.) I want to click the submit button after uploading a file but I can't. (Please see buttons to see both buttons) It always clicks the remove button unless I don't select a file, which means only when there's no remove button.  

 

Here is my code and it should select a file from my computer and click the SubmitButton to submit this file. 

            HtmlButton submitButton = manager.ActiveBrowser.Find.ById<HtmlButton>("SubmitButton");
         
            HtmlInputFile selectFile = manager.ActiveBrowser.Find.ByAttributes<HtmlInputFile>("type=file");
           
            FileUploadDialog uploadDialog = new FileUploadDialog(manager.ActiveBrowser, @"myfilepath", 
                DialogButton.OPEN,"Select files");
            manager.DialogMonitor.AddDialog(uploadDialog);

            selectFile.Click();

            manager.DialogMonitor.Start();

            uploadDialog.WaitUntilHandled(10000);
            
            submitButton.Click();

 

I've also included a screenshot of the html of the buttons. Please let me know if you need more information. Thank you! 

Elena
Telerik team
 answered on 10 Jan 2019
3 answers
326 views

Hi Support,

We are using telerik free testiing framework version 2018.3.1004.0. But it is not handling the alert, confirm dialogs on latest chrome i.e chrome 70.

Please note that i am using the latest telerik extension as weel for executions.

Any help on this will be appreciated.

 

Thanks

Vinay

Daniel Djambov
Telerik team
 answered on 24 Dec 2018
3 answers
14 views

Using this code, Firefox does not find the iFrame, it is found using IE and Chrome.

 

ArtOfTest.WebAii.Core.Browser frame = ActiveBrowser.Frames[0];

Assert.IsNotNull(frame, "Frame not found");

 

There is only 1 frame in the page and it doesn't have a name.

 

Test studio version 2018.3.1004.0

Firefox 63.0.3 (64 bit)

 

Is this a known issue as I couldn't find anything about this when searching?

 

regards

 

Si

Elena
Telerik team
 answered on 07 Dec 2018
2 answers
28 views
What are the best automation test tools for Telecom domain?
Daniel Djambov
Telerik team
 answered on 19 Nov 2018
5 answers
16 views
Can I use the testing framework without installing it by just adding the needed DDLs?
Elena
Telerik team
 answered on 14 Nov 2018
1 answer
42 views

Clicking on the upload button using click method or submit in Selenium Test Automation doesnt work.  Have tried to execute the jquery using click, but it doesnt work.  

 

    ((IJavaScriptExecutor)driver).ExecuteAsyncScript(String.Format("$('#attachments').click();"));  

 

here #attachments is the id of the select/upload button.  I have tried to use ExecuteSyncScript too which doesnt work.

Elena
Telerik team
 answered on 14 Nov 2018
6 answers
40 views

我想問一下這個WPF ComboBox如何獲取它的Item,

我從Snoop Tool檢查了它的xaml,並了解到當前應用程序Xaml中不存在Popup的內容。

這個問題就像日期選擇器

我正在使用Testing Framework Automation編寫C#測試腳本

 

謝謝


Elena
Telerik team
 answered on 07 Nov 2018
3 answers
21 views

Repro steps:

 

1. Start SUT with another automation framework (TestStack.White) in my case

2. Create an instance of Manager and call ConnectToApplication(int processId)

 

Expected: The call takes less than 1 sec

Actual: On one machine it takes less than 1 sec, on the other approx. 1 min

 

Machine with 1 sec:

Windows 10 64 bit, TestStudio Trial from online installation

Machine with 1 min:

Windows 7 32 bit, TestStudio trial from offline installation..

Any help would be greatly appreciated.

Elena
Telerik team
 answered on 05 Nov 2018
11 answers
175 views
Hi,

Is there an offline installer for the Telerik Testing Framework 2013?  I downloaded the regular install kit (TestingFrameworkFree.2013.2.1327), but it is trying to download additional files during the install which is failing (perhaps due to poor internet connection).

Thanks,
Steve
Elena
Telerik team
 answered on 25 Oct 2018
10 answers
114 views

I am getting this exception while automating using ArtOfTest.WebAii in VS2017, what could be the reason.

threw exception: 
System.TypeInitializationException: The type initializer for 'ArtOfTest.WebAii.Core.Settings' threw an exception. 
---> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, 
Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

Elena
Telerik team
 answered on 18 Sep 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Liu
Top achievements
Rank 1
Iron
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
George C.
Top achievements
Rank 2
Iron
Veteran
Top users last month
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Liu
Top achievements
Rank 1
Iron
Alex
Top achievements
Rank 1
Veteran
Iron
Iron
George C.
Top achievements
Rank 2
Iron
Veteran