which function you will use to compare the application date
with system date?..
Answer Posted / ak
You can get the system date in WR via function:
sysDate = time_str(get_time());
Match this date (sysDate) with your application date.
If the format of both dates are different then you can
modify or split (use split() fucntion) any one among them
as per your requirement.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i get error "winrruner cannot identify object" and gives details like the physical description of object "windowsFor....378734a_11" has changed descritpion in GUI map new discription Description { { class:object class:object Msw_id:264896 Msw_id:918548 } } Below is a script of functionality where amount is transfered from users account ,first contact summary of user is opened then transfer button is available on which we click .on clicking transfer form opens and various details are entered like amount to be transfer,transfer type .line where i m getting error is obj_mouse_click ("WindowsForms10.Window.8.app have marked it with red in script .0.378734a", 164, 10, i would be very thankful if anyone can give help related to this problem. *SCRIPT IS BELOW:-* > # Shell_TrayWnd > set_window ("Shell_TrayWnd", 1); > toolbar_button_press ("ToolbarWindow32_1", "Contact summary - > Scheme: > SCHEME CARD PROGRAM (admin - Local - V.1.8.2.0000)"); # Button Number > 3; > > # Contact summary - Scheme: SCHEME CARD PROGRAM (admin - Local - > V.1.8.2.0000) > set_window ("Contact summary - Scheme: SCHEME CARD PROGRAM (admin - > Local - V.1.8.2.0000)", 1); > obj_mouse_click ("CommandBar1", 437, 15, LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 1); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a", 164, 10, > LEFT); > > # #32769 > set_window ("#32769", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_0", 138, 9, > LEFT); > > # Transfer (admin - Local - V.1.8.2.0000) > set_window ("Transfer (admin - Local - V.1.8.2.0000)", 0); > obj_mouse_click ("WindowsForms10.Window.8.app.0.378734a_1", 166, > 13, LEFT); >
How do you filter the objects in the gui map?
What do you verify with the database check point custom and what command it generates, explain syntax?
write a compilemodule function for loginscreen.
What is the purpose of different record methods?
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
How can withwin runner to make single scripts which supports multiple languages?
What is the purpose of regexp_label property?
What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?
i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.
What is a checkpoint and what are different types of checkpoints?
How do you handle tsl exceptions?
How do you handle pop-up exceptions?
What are data driven tests?
descriptive program for web application.