Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
1 answer
73 views

What is the Page Object Model syntax if you want to find by ios Class chain or IOS predicate using .net package

Here is sample of my current page object [FindsByAndroidUIAutomator(XPath = "//android.widget.ImageView")] [FindsByIOSUIAutomation(Accessibility = "ic_login_logo")] private ...
skinnyWill's user avatar
0 votes
0 answers
73 views

Appium TouchAction Hold Without Duration Alternative

I currently have 2 methods to handle touch actions of hold and release public static void HoldLongPressByCoordinates(int x, int y, int waitTime = 3) { Thread.Sleep(TimeSpan....
Arthur Pinhas's user avatar
0 votes
1 answer
53 views

how to use function keys and keywords at the same time in c#

Have to press f7Q to quit from an windows application for that my below code is not working. element.SendKeys(Keys.F7 + "Q");
Aman Khan's user avatar
  • 113
-1 votes
2 answers
166 views

Appium Getting error Assembly Initialization method threw exception on azure pipelines

I am running appium tests on Azure Devops yaml pipelines The tests are created in MS Unit Test and in C# Tests are being run with following command nohup appium -p 4723 & dotnet test <csproj ...
Ankit Agrawal's user avatar
1 vote
0 answers
543 views

Unable to launch a Windows application using Appium in C#

I'm trying to automate a Windows application using Appium in C# with Visual Studio. Here's my code: using NUnit.Framework; using OpenQA.Selenium.Appium; using OpenQA.Selenium.Appium.Windows; using ...
pony1229's user avatar
0 votes
0 answers
65 views

What's wrong with this relative XPath?

I want to automate a SQL developer tool so I'm trying to click on the "create new connection" button create new connection using relative XPath. Why is WinAppDriver failing to click on the ...
Sharad's user avatar
  • 29
0 votes
0 answers
181 views

SendKeys inserting �� instead of Emoji

I have a winforms application. I installed the latest stable Appium version through NuGet. I simply want to enter an emoji into a text field using OpenQA.Selenium.Appium.Android; using OpenQA.Selenium....
maddo7's user avatar
  • 5,003
2 votes
2 answers
277 views

Catch ElementClickInterceptedException in Selenium with C#

I'm trying to catch a ElementClickInterceptedException in C#, but it apppears I'm doing something wrong since it doesn't go to the catch code line when I get that exception while debugging. Strange ...
Leo1989's user avatar
  • 33
0 votes
1 answer
302 views

Get text from password field

I am trying to get text from password field, as I need it to pass the test case. Currently I am trying to do it with this _passwordInput.SendKeys(user.Password); Assert.Equals(_passwordInput.Text, ...
NotMe's user avatar
  • 3
0 votes
1 answer
333 views

Drag and Drop not working using WinAppDriver C#

I have a scenario to drag a tree view item and drop it at a data item in data grid. I have tried Action class with element and action with offset and Mouse Move/Down/Up but nothing working. It clicks ...
TLe's user avatar
  • 41
1 vote
1 answer
94 views

Time where minutes are not counted in a C# assertion snippet for an appium test

I am attempting to ensure that hours are not off minutes I am not too concerned with but can't seem to break them off the code. Is there a way to allow the assertion to be 10 minutes off? public ...
HANSTKE's user avatar
  • 69
0 votes
1 answer
347 views

Having an assertion that contains one word I want it to Assert that word exists anywhere on the page with , or not

I have a Test with an Assert in it for contains Duck.Sometimes I will see Duck,Goose. The later Fails because it sees the ,Goose. I thought Contains would fix this and I thought the * wildcard would ...
HANSTKE's user avatar
  • 69
0 votes
2 answers
2k views

Appium WebDriver WinAppDriver Error - Defined in 'WebDriver', but it could not be found Error

I'm currently trying to run the following code in order to automate Windows desktop apps with WinAppDriver in C#. Whenever I enter the following code WindowsDriver<WindowsElement> _driver; I get ...
Call of Craig's user avatar
1 vote
1 answer
1k views

Reference to type error when adding the DotNetSeleniumExtras package extension

I'm creating a test automation framework in C# .Net using Appium to automate IOS and Android and wanted to use Page Object Design Pattern. So I wanted to utilize the PageFactory extension. By adding ...
Harvey's user avatar
  • 379
3 votes
2 answers
4k views

WinAppDriver:-Reference to type 'IFindsByTagName' claims it is defined in 'WebDriver', 'IFindsByClassName' , 'IFindsById' claims it is defined'

1- Developer mode active 2- WinApp installed properly 3- Nuget appium dependency installed 4- Microsoft visual studio 2022 using OpenQA.Selenium.Appium; using OpenQA.Selenium.Appium.Windows; ...
pawansinghncr's user avatar

15 30 50 per page
1
2 3 4 5
8