|
-
Jun 19th, 2008, 09:54 PM
#1
Thread Starter
Hyperactive Member
Get Value From Web Browser
Hi All,
I Hope i'll have answer for this from here...
I created a application with a web browser and its working fine only. From the web browser i can browse any web page, from a web page i need to get the value like "How many times i'm pressing the Enter key" or submit button in the web page.
The web page is not mine, it may a private one, there i want to find out how many times i'm pressing and submittingthe values from the web page.
For example in "Google" page in the search text box we enter some text then we pressing "Enter" key to search know, i want to find out how many times i'm pressing the Enter key in the google page and also how many times i'm clicking the "Google Search" Button in the google page.
I hope some have answer for this, let me know the same.
Thanks in advance.......
-
Jun 19th, 2008, 10:17 PM
#2
Re: Get Value From Web Browser
For what purpose is this? Other than trying to prevent detection of site abuse, for what purpose is this? Normally you don't care how many times you submit since what's important is the information returned by the request.
-
Jun 19th, 2008, 10:23 PM
#3
Thread Starter
Hyperactive Member
Re: Get Value From Web Browser
I need to count my work here form a web page so only i need it...
Do you have answer for this...
-
Jun 19th, 2008, 10:27 PM
#4
Thread Starter
Hyperactive Member
Re: Get Value From Web Browser
I'm doing some online data filling work from that web page i need to fill some text boxes and finally i need to give Submit ot Enter to post my work for each time. from that i need to count how many works done by me daily basis, so only i need to create a application for it....
-
Jun 19th, 2008, 10:38 PM
#5
Re: Get Value From Web Browser
Look for an application similar to JMeter, essentially log HTTP traffic between you and the site by setting up a proxy in between.
-
Jun 19th, 2008, 11:00 PM
#6
Thread Starter
Hyperactive Member
Re: Get Value From Web Browser
Thanks for your reply, but i'm not getting what you saying...
can i have some code samples for it or any other application format for this....
-
Jun 20th, 2008, 04:20 AM
#7
Addicted Member
Re: Get Value From Web Browser
if u have created ur application just declare a variable as integer
n each time u press submit........ just add 1 to it simple !!
in submit event
SubmitCount = val(SubmitCount) + 1
thats it.........
●════════════════════════════◄►═════════════════════════●
___itš bεttεг tΘ bε απ Θρεπ šiππεг, thαπ α ƒαlšε šαiπt___
●════════════════════════════◄►═════════════════════════●
гαj
-
Jun 20th, 2008, 05:01 AM
#8
Re: Get Value From Web Browser
 Originally Posted by _RaJ_
if u have created ur application just declare a variable as integer
n each time u press submit........ just add 1 to it simple !!
in submit event
SubmitCount = val(SubmitCount) + 1
thats it.........
It's a web page submit button and he doesn't have access to server-side source code. I'm not sure at the moment if client-side DOM can be changed at run-time to insert relevant vbscript/javascript and other page elements to facilitate retrieval of value by VB code.
Last edited by leinad31; Jun 20th, 2008 at 05:21 AM.
-
Jun 20th, 2008, 05:11 AM
#9
Re: Get Value From Web Browser
 Originally Posted by sarathi125
Thanks for your reply, but i'm not getting what you saying...
can i have some code samples for it or any other application format for this....
No coding necessary. You'll log requests by setting up a proxy
http://jakarta.apache.org/jmeter/index.html
http://jakarta.apache.org/jmeter/use...ep_by_step.pdf
-
Jun 24th, 2008, 01:32 AM
#10
Thread Starter
Hyperactive Member
Re: Get Value From Web Browser
Hi in this link there so many jmeter files avial for download, shich one is helpful to me, tel me that and just give me a notes on it how to use it and how to make it with the applications.
Thanks
-
Jun 24th, 2008, 01:42 AM
#11
Re: Get Value From Web Browser
Wait. Do you just need to log the requests you sent out (which can be done with JMeter proxy)? Or do you need to use the values (e.g. count) in your VB6 application?
If its the second case then I suggest that you keep track of the response instead, as mentioned in post#2, using document complete event of webbrowser control. In document complete event, check if page is the response page to a request submission... if so then increment counter.
-
Jun 25th, 2008, 09:40 PM
#12
Thread Starter
Hyperactive Member
Re: Get Value From Web Browser
Hi,
Ya i need the second thing, if the browser events the document complete event how to check where the value is passing or not. if the same same repeating means need to avoid that know. So let me get some clear idea, i think now you got my point so say some idea for this and let me to complete that one....
Thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|