Quality Testing

Quality is delighting customers

Renu Tiwari's Friends

  • yuvaraj
  • Ravi
  • Shreyansh Shah
  • mahesh katte
  • Anshuman Jha
  • Silambarasan
  • Raghavendra N
  • Murali KV
  • sunitha reddy
  • Me
  • Nivas
  • vamsi
  • Quality Testing

Renu Tiwari's Discussions

Fileobject issue in QTP

Started this discussion. Last reply by Renu Tiwari Jan 19. 5 Replies

' Read Content from a text file and Write in another text file Dim objFso, myFile1, myFile2, x Set objFso=createobject("Scripting.Filesystemobject") Set…Continue

Need suggestion in QTP..?

Started this discussion. Last reply by Renu Tiwari Dec 24, 2011. 7 Replies

I have created in webpage (ASP.net #C sharp).Its path is http://localhost:3287/WebSite7/Default.aspx" .Its Title is Rao Editing1Now I want to check is this applcation launch sucessfully or not.I…Continue

 

Renu Tiwari's Page

Latest Activity

Renu Tiwari replied to Shridevi's discussion Anyone wanted to do a Manual Testing Project with me? in the group Software Testing Projects
"Hi Ambitious Can you provide details regarding  web or mobile based application(Testplan ,testcases  test strategy , expected result) Thanks "
May 18
Renu Tiwari is now friends with Nivas, Me, Ravi and 3 more
May 7
Renu Tiwari replied to jegan Raj Kumar's discussion Negative Test-case = Invalid Test-case ???
"Hi , Test cases are written on the basis of requirement. Positive testcases , negative test cases m Invalid testcases . Example :- We need to write test cases for a query which  pulled item whose pricing is > 65 rs  per bundle and sale…"
May 7
Renu Tiwari replied to Rajesh Kumar's discussion Production Deployment Testing
"We can check this before prod migration , 1 ) regression testing should complete  sucessfully. 2) UAT should complete  sucessfully. "
Apr 27
khaleel liked Renu Tiwari's profile
Apr 8
Renu Tiwari replied to rishi adagale's discussion High severity and low priority bug
"High Severity & Low Priority : Suppose there is an application which generates some reports  weekly, monthly, quarterly & yearly by doing some calculations. In this application, there is a fault while calculating yearly report. Defect…"
Jan 23
Renu Tiwari replied to Nivas's discussion Please help me in executing QTP scripts from QualityCenter.
"Hi Nivas, 1) First install QC on your system 2) Go to QTP Set Up and add the "Quality Center ADD-IN " 3) This way QTP And QC connected 4)Open QTP --Files--- Quality Center Connection give the server name . 5) Also you need to Click on QC…"
Jan 20
Renu Tiwari is now friends with Raghavendra N, Silambarasan and Anshuman Jha
Jan 19
Renu Tiwari replied to Renu Tiwari's discussion Fileobject issue in QTP
"Thanks to all . now my code is working " Dim objFso, myFile1, myFile2, xConst ForReading = 1'to read the text fileConst Forwriting=2'to write line in text fileSet objFso=createobject("Scripting.Filesystemobject")Set…"
Jan 19
Raghavendra N replied to Renu Tiwari's discussion Fileobject issue in QTP
"Hi Renu, Before the code u should declare like this , then it will work     Const forReading = 1'to read the text file    Const Forwriting=2'to write line in text file    Const ForAppending =…"
Jan 19
Jayateerth replied to Renu Tiwari's discussion Fileobject issue in QTP
"Change the follwoing line Set myFile2=objFso.createtextfile("C:\Users\Renu\Desktop\RTQTP2.txt",1) to Set myFile2=objFso.createtextfile("C:\Users\Renu\Desktop\RTQTP2.txt",2) 'for writing to file Thanks, Jay"
Jan 19
Shawn LoPorto replied to Renu Tiwari's discussion Fileobject issue in QTP
"If this is all your code, then you are missing the constant declaration for "ForWriting".  The OpenTextFile parameter is actually a number and to open a file for writing it would be "2" however most people follow the…"
Jan 19
k.vijay replied to Renu Tiwari's discussion Fileobject issue
"Hi Renu, try below code set x=createobject("scripting.filesystemobject") sey y=x.opentextfile("c:\data.txt", 1) set z=x.opentextfile("c:\data1.txt",2) while not y.atendofstream a=y.readline() z.writeline() print…"
Jan 19
Renu Tiwari posted a discussion

Fileobject issue

' Read Content from a text file and Write in another text file Dim objFso, myFile1, myFile2, x Set objFso=createobject("Scripting.Filesystemobject") Set myFile1=objFso.createtextfile("C:\Users\Renu\Desktop\RTQTP1.txt",1) 'Set myFile1=objFso.opentextfile("C:\Users\Renu\Desktop\RTQTP1.txt",1) Set myFile1= objFso.OpenTextFile("C:\Users\Renu\Desktop\RTQTP1.txt", ForWriting,True) myFile1.Write "This is a place to get all your qtp" Set…See More
Jan 18
Renu Tiwari replied to Renu Tiwari's discussion Need suggestion in QTP..?
"Same code i ran for google.Its working fine  SystemUtil.Run "C:\Program files\Internet Explorer\IEXPLORE.EXE", "http://www.google.co.in/"Wait (1)if Browser("title:=Google").Page("title:=Google").Exist…"
Dec 24, 2011
Renu Tiwari replied to Renu Tiwari's discussion Need suggestion in QTP..?
"Hi Suresh, I used this but its giving error msg that  " SystemUtil.Run "C:\Program files\Internet Explorer\IEXPLORE.EXE", "http://localhost:3287/WebSite7/Default.aspx"Wait (1)if Browser("title:=Rao…"
Dec 24, 2011

Profile Information

First Name:
Renu
Last Name:
Tiwari
I am currently:
Employed
Experience(Years):
6 - 7
Designation:
Sr quality software
Company:
Ss Dynamic pvt tld
About Me:
I am Sr quality analyst

Renu Tiwari's Blog

Import excel sheet through scripting

Posted on December 20, 2011 at 11:30am 0 Comments

) I saved excel sheet at my desktop

2)I Want to import this data at run time in QTP through scripting.be

low is code

3)'Import data from excel sheet in to datatable at Run time

systemutil.Run"http://localhost:3287/WebSite7/Default.aspx"

Datatable.Import"C:\Documents and Settings\Administrator\Desktop\RTYUIO.xls"

rowcount = Datatable.GetRowCount

For i=1 to rowcount

Datatable.SetCurrentRow(i)

Next

4)now check the test run detail

5)Check Run-Time…

Continue

Comment Wall (3 comments)

You need to be a member of Quality Testing to add comments!

Join Quality Testing

At 2:12pm on November 20, 2011, Kapildev Kapoor said…

Hello Renu,

 

Welcome to QT and Join Delhi & NCR Tester group so that we all people can share knowledge .......enjoy Testing!!! TC GOD BLESS U ALLLLLL

 

Click this link : http://www.qualitytesting.info/group/delhincrtesters.

 

Thanks & Regards

Kapil

kapildevkapoor@gmail.com

visit : http://testingking.weebly.com

+919326814689


 

At 9:49pm on November 18, 2011, Quality Testing said…

Dear Renu,

Welcome to Quality Testing!

-QT Team

At 6:02pm on November 18, 2011, vamshi said…

Welcome to QT

 
 
 

TTWT Magazine

Advertisement

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service