Forum Discussion
Thanks djadhav.
I did the same but on other/second user it shows actual value of the recorded "first user" and expected value shows as per excel sheet.
Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername, "contentText", 0, KeywordTests.Test3.Variables.DataLoop("Loginuser"), False
It shows first user pass " admin" / "admin".
and second user fail "admin"/ "faculty".
but in our requirement we don't want to record checkpoint for every user.Can we do it to parametrized actual values also "Content text" becaues object (textnodePageheaderLblusername) is same for every user and content text property values are different so it should (get update automatically as per user object ) but it saves the value as we have in recording.
Thanks!!
For first user PASS :
Object name: Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername
Property: contentText
Actual value :"administrator, administrator ( administrator )"
Expected value : "administrator, administrator ( administrator )"
Condition : cmpEqual
For second user FAIL :
Object name: Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername
Property: contentText
Actual value :"administrator, administrator ( administrator )"
Expected value : "EMS, SP ( emssp )"
Condition : cmpEqual
Eitehr it is the problem in test complete not changing " content text " property value as per data loop execution or i did some thing wrong. Please guide us.
Thanks!!
- djadhav9 years agoRegular Contributor
1) log in with user 1
Select object (Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername) with Object Spy and take screenshot of the property window. Post that screenshot
2) log in with user 2
Select object (Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername) with Object Spy and take screenshot of the property window. Post that screenshot
3) Go to object browser and click refresh multiple times as shown below
Select object (Aliases.browser.pageSimulationiqHome.formAspnetform.textnodePageheaderLblusername) with Object Spy and take screenshot of the property window. Post that screenshot
Please post the 3 screenshots as described above.
Related Content
- 2 years agogdave
- 8 months agoshahid24
- 4 years agoryanterronez
- 4 years agobflynnbyx