I am currently writing a number of automated tests (using C# and the Webaii framework) to test a SilverLight website. When I try to delete an element on the website a dialogue popup appears on screen asking if I am sure that i want to delete the element. I want to click the 'Yes/OK' button. is there a way of automating clicking the 'yes/ok' button?
Webaii Automation - Clicking 'OK' on a dialogue box
207 Views Asked by ED209 At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in TELERIK
- Telerik's WPF RadColorPicker NoColorText property not working
- Web Forms For Marketers (WFFM) Rich Text Field Type
- replace UpdatePanel with telerik
- Telerik Reporting Pagination Toolbar
- Winforms remove controls on click
- Screen is not moving to another screen
- How do I add a new table to a Telerik Open Access MVC project?
- adding dynamic column kendo ui treelist
- Converting Client Side binding to Server Side to improve performance
- How do I check specific data when reading in data from a remote source with kendo.data.datasource
- How override Print in Kendo UI Editor?
- Localization of Telerik Reports with different Cultures- in MVC application
- Programmatically Adding Buttons in MVVM but Command doesn't work
- Could not load type 'Telerik.Windows.Documents.Packaging.DeflaterOutputStream'
- check RadDateTimePicker value against current system date time value
Related Questions in AUTOMATION
- Installing Teamcity build agent as a user: failed to install the service. selected account does not have enough rights
- Automating Telnet Scripts from .bat with a teamspeak instance
- schedule and automate sqoop import/export tasks
- Dynamic @Test generation in TestNG
- detecting a file downloaded in selenium java
- Can I automate auto-app installation on my Android device?
- C# Program automation - Program hangs/doesn't work
- Saving Excel workbook as PDF gives me an OLE error 800A03EC
- Appium-How to send SMS for login verification purpose during automation test
- How to maximize browser window with helium using Java?
- Appium iOS automation using Java : get element using accessibility Id?
- Looking to run automated jobs in .NET application
- How to click the back navigation button of the browser using helium?
- Firefox automatically choose certificate, without ui dialog
- Test class not found in selected project
Related Questions in WEBAII
- Webaii Automation - Clicking 'OK' on a dialogue box
- NUnit 2.5.9 and WebAii
- How to use WebAii and WatiN with Same Browser
- Telerik WebAii Framework - How to change focus to newy opened page/window
- Detect ToolTip on row of RadGrid using WebAii
- WebAii - problem facing while entering text in input box in web page
- WebAii/ArtOfTest - Testing contents of <p> tags?
- "Art of Test" for C# Automated Web Testing in CruiseControl.NET
- WebAii ArtOfTest need help finding a dynamically added element (label)
- Does the WebAii framework support a page class structure in the way that WatiN does?
- Dynamically change connection string for UI tests
- How to Programatically "Click" a Silverlight HyperlinkButton (WebAii)
- How to access Content of a ComboBox.ItemElements?
- Working with custom edit popup forms in Telerik Testing Framework
- WebAii HtmlControl.Click() is clicking wrong control
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I work for Telerik in the Test Studio and Testing Framework support department. I will endeavor to assist you with this problem. I'm sure there's a way to automate it, but it depends on exactly what type of dialog this is. A picture of this dialog will show me what type of dialog it is we're dealing with, and then I can better direct you on the right approach.
If it's like a JavaScript confirm dialog, you want to handle it using our confirm dialog handler. The basic approach is documented here: http://docs.telerik.com/teststudio/user-guide/write-tests-in-code/advanced-topics/handling-html-popups-and-dialogs/built-in-dialog-handlers/handling-javascript-dialogs.aspx. If it's a dialog shown using Silverlight elements, you should be able to find the element and click on it.