Share
Go down
imfaus
Active particpant
Active particpant
Posts : 13
Join date : 2012-01-13

hep with verifyText IDE

on Wed Jan 25, 2012 11:43 pm
I am running IDE 1.5.0
HTML Source:

Portal Alias:

This is what I am running in the IDE below is the HTML code


verifyText
xpath=[contains(@id, 'ViewMerchantWizard_MerchantWizard1_cbWizardPanel_MerchantTab_ControlUC_OrgUC1_lblPortalAlias')]


Here is the error in the IDE log


  • [info] Executing: |verifyText | xpath=[contains(@id,
    'ViewMerchantWizard_MerchantWizard1_cbWizardPanel_MerchantTab_ControlUC_OrgUC1_lblPortalAlias')]
    | |
  • [error] Invalid xpath [2]: [contains(@id,
    'ViewMerchantWizard_MerchantWizard1_cbWizardPanel_MerchantTab_ControlUC_OrgUC1_lblPortalAlias')]



  • Any ideas? Thanks
    faramka
    Professional
    Professional
    Posts : 143
    Join date : 2011-09-15
    Location : Poland

    Re: hep with verifyText IDE

    on Thu Jan 26, 2012 2:33 pm
    Message reputation : 100% (1 vote)
    You must specify the element in the xPath by using //* at least.
    Code:
    xpath=//*[contains(@id, 'ViewMerchantWizard_MerchantWizard1_cbWizardPanel_MerchantTab_ControlUC_OrgUC1_lblPortalAlias')]
    imfaus
    Active particpant
    Active particpant
    Posts : 13
    Join date : 2012-01-13

    Re: hep with verifyText IDE

    on Thu Mar 01, 2012 3:37 am
    Awesome that worked!
    Sponsored content

    Re: hep with verifyText IDE

    Back to top
    Permissions in this forum:
    You cannot reply to topics in this forum