The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Robot

Pages: 1
Suresh_Kumar_N
Newbie


Reged: 01/28/09
Posts: 20
RR not identified the object in JavaScript page.
      #699172 - 02/22/12 12:00 AM

Can any one please suggest to for this issue,

I can not get the properly value of object through SQAGetproperty.
function not return the value or got error message like object not found.

But if I used Verification point , it will work,

so please suggest how to get the value from Verification point or
what i can do for RR to identify the object in JavaScript pages.

Eg:

Object:
' Window SetContext, "Caption=Screen - Microsoft Internet Explorer", ""
' Browser SetFrame,"Type=HTMLFrame;Index=1",""
' CheckBox Click, "Type=CheckBox;Name=blackberry;VisualText=Yes"

Not get the value through SQAFunctions in JavaScript page
Window SetContext, "Caption=Screen - Microsoft Internet Explorer", ""
Browser SetFrame,"Type=HTMLFrame;Index=1",""
SQAGetProperty "Type=CheckBox;Name=blackberry;VisualText=Yes","Status",Bl_Status
SQAGetProperty "Type=CheckBox;Name=blackberry;VisualText=Yes","Disabled",Bl_Dis


Working fine for VP
Window SetTestContext, "Caption=Screen - Microsoft Internet Explorer", ""
Browser SetFrame,"Type=HTMLFrame;Index=1",""
Result = CheckBoxVP (CompareProperties, "Type=CheckBox;Name=blackberry;VisualText=Yes", "VP=Object Properties")

--------------------
Suresh Kumar N.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  AJ, RSBarber 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1456

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5