what is split function?Give me the syntax?
Answers were Sorted based on User's Feedback
Answer / guest
Split function will split the String expression accoring to
the split seperator that u mentioned..
For Ex: uname="suresh babu";
count=split(uname,arr1," ");
if u used that functin it will split the string into
two elements namely suresh and babu and store in the arr1
i.e arr1[]="suresh";
arr2[]="babu";
and count variable consists of number of elements in the
array.
Any further info..welcome..
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / jagadesh
Split function is used to split the data
Ex:Change the date formate from DD/MM/YYYY to MM/DD/YYYY
using Split Function
Date = DD/MM/YYYY
Split(Date,arr,"/")
(Now the valuse are arr[0]= DD arr[1] = MM arr[2] = YYYY)
Date1 = arr[1]& "/" & arr [0] & "/" & arr[2]
(now Date1 = MM/DD/YYYY)
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / udaykumar
The syntax is incorrect, it does not return any value,
means the no. of values in the array. It simply stores in
the array.
Example:
str="Hello uday how r u"
split(str,arr," ");
Here arr[0]="Hello",arr[1]="uday",arr[2]="how",arr[3]
="r",arr[4]="u"
Simply to say it divide like, whenever a space found in the
string
"Hello|uday|how|r|u"
Is This Answer Correct ? | 1 Yes | 2 No |
Hi, Currently i am using winrunner for my project.Its a java project. When i am running the script its failing in cliking an image link("My Profile"). The image object is eventhough exists in GUI map editor script is failing to recongize the object. I am getting the error of "Web_image_click:"My Profile" Error:Object is not found". I recorded the script and executed it is not running it shows the same error. The following physical description displaying in GUI map editor : { class: object, MSW_class: html_rect, html_name: "My Profile" } The thing was running successfully, I could not able to identify something happen to the script its showing error. Please give solution for this problem. Let me know if need more information. Regards, Sankar shankarmg@gmail.com
How do you run your sciripts in Win Runner?
How do you copy and move objects between different gui map files?
What are the synchronization points?
How many types of tests can u create in winrunner?
how will u perform bug tracking using winrunner?
Which Key is pressed to toggle between Analog and Context Sensitive Mode?
kindly provide me test cases on browser and calculator.Its very urgent.
What in contained in the GUI map?
How to insert the data in to the data table from the data base records?
2 Answers CTS, Landscape Technologies,
How can I check the font size and color using winrunner?
How to Get data from database(table) to an excel sheet