Post

Replies

Boosts

Views

Activity

UITest with WkWebview
Hi I want to perform UITest with WKWebview but getting the following issues: Not able to fill the text in textfiled. Not able to tap on buttons. Once tap on the button programmatically, app getting crashed. Please suggest the best approach. I am doing like : if (self.app.textFields.firstMatch.placeholderValue == "Email address" ) {             app.webViews.element(matching: .textField, identifier: "email").typeText("emailID")      } let webViewsQuery = XCUIApplication().webViews.webViews.webViews let logInButton = webViewsQuery.buttons[" Log In"] logInButton.tap()
0
0
1k
Jan ’23
UITest with WkWebview
Hi I want to perform UITest with WKWebview but getting the following issues: Not able to fill the text in textfiled. Not able to tap on buttons. Once tap on the button programmatically, app getting crashed. Please suggest the best approach. I am doing like : if (self.app.textFields.firstMatch.placeholderValue == "Email address" ) {             app.webViews.element(matching: .textField, identifier: "email").typeText("emailID")      } let webViewsQuery = XCUIApplication().webViews.webViews.webViews let logInButton = webViewsQuery.buttons[" Log In"] logInButton.tap()
Replies
0
Boosts
0
Views
1k
Activity
Jan ’23