In the run it’s not typing the password what we have entered in the record mode please explain?

I have started record and entered the url, it has taken username and password and done some work. Now when I click on run the testcase with the password filed it's not entering any text.

Comments

  • Thanks for the reply, but still the cursor is not going down to password field, it's just typing the username and stopping there only, please update
  • import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
    import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
    import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
    import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
    import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
    import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory
    import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords
    import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
    import com.kms.katalon.core.model.FailureHandling as FailureHandling
    import com.kms.katalon.core.testcase.TestCase as TestCase
    import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory
    import com.kms.katalon.core.testdata.TestData as TestData
    import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory
    import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository
    import com.kms.katalon.core.testobject.TestObject as TestObject
    import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords
    import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
    import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords
    import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
    import internal.GlobalVariable as GlobalVariable

    WebUI.openBrowser('')

    WebUI.navigateToUrl('https://sales.buzzboard.com/signin/')

    WebUI.setText(findTestObject('ramswork/Page_Sign In BuzzBoard/input_username'), 'qasalesrep1')

    WebUI.setText(findTestObject('ramswork/Page_Sign In BuzzBoard/input_password'), 'qasales')

    WebUI.click(findTestObject('ramswork/Page_Sign In BuzzBoard/input_login'))

    WebUI.click(findTestObject('ramswork/Page_Insights Esca Restaurant Buz/span_iconsec'))

    WebUI.click(findTestObject('ramswork/Page_Insights Esca Restaurant Buz/a_Find Prospects'))

    WebUI.click(findTestObject('ramswork/Page_Find Prospects BuzzBoard/div_Location'))
    WebUI.closeBrowser()
Sign In or Register to comment.