

Session ID: cfd7f8509f06cdb5e77f8fe3beea5253)Īnd here is my code for date picker and add time: (Driver info: chromedriver=61 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT x86_64) (WARNING: The server did not provide any stacktrace information)Ĭommand duration or timeout: 0 millisecondsīuild info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘T21:07:36.161Z’ Test Cases/Booking Services for Customer FAILED because (of) Unable to set text ‘06 July 2018’ of object ‘Object Repository/Booking Services/input_start_date’ (Root cause: : invalid element state: Element must be user-editable in order to clear it. Okay So when I write date picker code its showing me this error: Don’t we B)įinally, finally, I don’t believe 100% the re-install fixed the problem. But don’t assume the documentation is always correct – especially online. In electronics, you will end up with one faulty component, etc.įinally, let me re-emphasize Andrej’s rule 5. In programming, you will end up with one faulty line of code (hopefully). Repeat until you have the problem and its cause staring you in the face. If it’s in part A, split A into two parts. Now see if the problem is evident in Part A or Part B. So, check everything and make no assumptions.ġ0 - Use a binary approach to problem solving: We think we are going wrong because of something we don’t know, when in actual fact our problem is caused by a faulty assumption, something we thought we knew, which was NOT true. We build upon this false X, and only later, after many, many hours (days?) we discover X was NOT true in the first place. I’ll add a few things to what Andrej said (and all of the things he said get my vote too).ĩ - “It aint what you don’t know, it’s what you think you know that aint so.” For those whose mother tongue is not English, let me explain that…įrequently, we think something is caused by X. In the mean time, can you please tell me is there any possibility of failure of my script without showing failure test cases result generated on log file and console? I have tried all the possible way to overcome the failure still its redirected to search page Please help
#How to validate login in katalon studio install#
I will upload log file and screenshots later but currently I have not been able to debug the file due to missing some class file so I uninstall the tool and install again.

I have checked all my log file and console.

All test cases have been passed without any failure. Thanks Andrej and Russ for your help, Russ, I am not getting any error. Show us the HTML, any errors you have and any screenshots you think might help. Please provide as much information as you can. Let’s proceed slowly…ġ - Write a test case with one simple aim: Click the Booking button.ĭoes that work? Do you get errors? What are they?Ģ - Next, ADD the lines to the test to enter the user credentials and login.

Now i have a login validation test-case which looks something like this and should not execute the login as part of the setup //Login with no DataCustomKeywords.''('', '')WebUI.verifyElementPresent(findTestObject('General/text_form_error'), 1)//Login with invalid '123456')WebUI.verifyElementPresent(findTestObject('General/text_form_error'), 1)//Login with invalid '654321')WebUI.verifyElementPresent(findTestObject('General/text_form_error'), 1)//Login with deactivated '123456')WebUI.verifyElementPresent(findTestObject('General/text_form_error'), 1)//Login with valid '123456')WebUI.verifyElementNotPresent(findTestObject('General/text_form_error'), 1)WS.Please, forget the debugger right now – it’s just a distraction. Issue: all my test-cases require a login at the start, so instead of doing that in every single test-case i do this in the test-suite script with = false) // Please change skipped to be false to activate this f setupTestCase() '123456') Im trying to find a smart way to handle a login testcase as part of a bigger test-suite with minimal code-duplication.
