Forum Discussion

mspatel's avatar
mspatel
Contributor
11 years ago

Cacheing Issue in SETTEXT

I am experiencing this weird problem where default  value is being used regardless of what is entered in textbox. Check the script with both Chrome and Firefox , same problem exist . Web App is not supported by IE. 

 

Web Form

 

Depending on value of TYPE in above form, Account box loaded. When User picks Type= Client , Account Box gets visible with default value of 00R. Month End and Year box are dropped down. 

 

 

My Script is designed to input various values for Account and Run report. Problem is though script enters different value successfully and hit EXPORT , but report is always generated for OOR account. 

 

I have tried using Keys , but same problem .

 

I have tried erasing default value before entering new value but still same problem

 

I have tried inserting delay before input Account value and all subsequent droppped downs ..but still same problem.

 

I have also tried clearing cache before taking next Account value ...

 

I have also tried Reloading entire page before applying different Account value.....again.....

 

Whats going on here ?  

9 Replies

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor

    Does this work when you manually do this? Is it a bug with your website or the playback of the test?
    Do you get the same results if you record and playback a script?

     

    • mspatel's avatar
      mspatel
      Contributor

      Does this work when you manually do this?

      ANS:  No When I do Manually It takes Typed in Value..I mean It works. 

      Is it a bug with your website or the playback of the test?

      ANS: Developer Argues that It works Manually so , It cant be Website.
      Do you get the same results if you record and playback a script?

      Ans: I gotta Check That..

       

       

    • mspatel's avatar
      mspatel
      Contributor

      So Ryan, 

      Just checked record and play backing the Script, It showed the same behaviour as hand written script. .

       

      What does that mean ? Is app Caching values ?