Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Logging test results/actions.

View previous topic View next topic Go down

Logging test results/actions.

Post by Rizwan Akbar on Mon Sep 12, 2011 2:44 pm

Dear All,

Can anyone please help me that how I can log the user actions in log file, e.g. click, sendKeys and other actions.

I will be thankful to you for your quick replies.

Thanks,
Rizwan Akbar

Rizwan Akbar

Posts : 1
Join date : 2011-09-12

Back to top Go down

Re: Logging test results/actions.

Post by Adviser on Tue Sep 13, 2011 6:16 pm

hi,

I think want to record every action performed on browser via script.

what you can do is to create a function which write in a text file the type of operation performed.

you just called that function every time an operation is performed.

Things to remember:
1. open txt file at start before execution starts.
2. write in opened file every time event fires.
3. write mode should be append so that existing log will not removed.
4. close the file at the end of execution.

This all can be done with help of programming language in which u code like java, C#, php etc.

Hope this will get an idea to you. Bets of luck.

Bye
avatar
Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Logging test results/actions.

Post by ashish_techie on Thu Sep 29, 2011 8:18 pm

You have to use log4J API in java for that.
Its a logging api and is having a lot of features.

Regards
Ashish
For selenium training please go to
http://qtpselenium.com/samplevideos/selenium/seleniumvideos.php

ashish_techie
Amateur
Amateur

Posts : 73
Join date : 2011-08-09

Back to top Go down

Re: Logging test results/actions.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum