Forum Discussion

veenashree's avatar
veenashree
New Contributor
6 years ago

REgarding Proprty Transfer

Hi,

I have query : in protperty transfer how to use IgnoreCase method?

 

$..[?(@.name.en==('ahk' OR 'AHK'))].id  - Can i use like this

3 Replies

  • groovyguy's avatar
    groovyguy
    Champion Level 1

    Can you elaborate a little more on what you are trying to do? In a property transfer step, I was not aware that it would worry about case? I am not sure I understand what you are attempting to accomplish.

  • Radford's avatar
    Radford
    Super Contributor

    I'm not 100% of you question, but assuming that you are refering to a Property Transfer Test Step and are asking about the source XPath, something like:

     

    parent[lower-case(@attribute_name)='ahk'].id

     

     

    Please Note: This is not an exact answer to your question, as I am unsure of your exact scenario, but hopefully it'll point you in the right direction.

    • veenashree's avatar
      veenashree
      New Contributor

      lower-case is not recognizing


      Radford wrote:

      I'm not 100% of you question, but assuming that you are refering to a Property Transfer Test Step and are asking about the source XPath, something like:

       

      parent[lower-case(@attribute_name)='ahk'].id

       

       

      Please Note: This is not an exact answer to your question, as I am unsure of your exact scenario, but hopefully it'll point you in the right direction.