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

masarath
Member


Reged: 06/14/02
Posts: 23
Special characters -Instr
      05/09/04 10:25 PM

Hi all,
I need to check for the position of the enter\tab key in the string returned by the innertext property of a html table.
I have tried the following result=sqagetpropertyasstring("HTMLId=tblEmployee","innertext",strUserId)
if result<> sqaSuccess then
sqalogMessage sqaFail,"Inner Text Property Retrievel Failed","Unable to retrieve the inner text"
end if
intPosition =instr(1,strUserId,Chr$(13),0)

I have tried with Chr(10) also but unable to get the position

The following is the innertext
innerText = User IDEmployee IDEdit
MOEKUser01/GOVMYTAN TEONG MING
MOEKUser02/GOVMYNORHAYATI BT YAACOB

Can anybody guide me on this ?
It is very ****** , it would helpful if somebody could answer at the earliest

Regards,
Shabnam

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Special characters -Instr masarath 05/09/04 10:25 PM
. * * Re: Special characters -Instr bogg1196   05/10/04 08:53 AM
. * * Re: Special characters -Instr Raji Jayaprakash   05/10/04 10:23 PM

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

Moderator:  AJ, RSBarber 



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

Rating:
Thread views: 547

Rate this thread

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5