Jump to content



Photo

Multithreading In Exbrowser Not Increment Table Data

Multithreading exbrowser

  • Please log in to reply
6 replies to this topic

#1 hare ram

hare ram

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • LocationNew Delhi
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Professional Edition

Posted 25 January 2018 - 12:31 AM

Hi, I stuck in one point when i make bot in exbrowser in multithread ,how i increment table data in multithreading?

  Before i usually take data from csv file i used throgh list and in exbrowser i want to take through list it is not working fine in all thread bcz i take almost 7 field to fill it and when try to increment through table data it works fine but take same data in all thread ,i want to increment that csv data which i taken.

plz suggest me solution how can i increment data through table cell.

 

 

Thanks 

 

 



#2 Bot-Factory (Dan)

Bot-Factory (Dan)

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 3075 posts
  • LocationEurope/Germany
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 25 January 2018 - 03:16 AM

Hi, I stuck in one point when i make bot in exbrowser in multithread ,how i increment table data in multithreading?

  Before i usually take data from csv file i used throgh list and in exbrowser i want to take through list it is not working fine in all thread bcz i take almost 7 field to fill it and when try to increment through table data it works fine but take same data in all thread ,i want to increment that csv data which i taken.

plz suggest me solution how can i increment data through table cell.

 

 

Thanks 

 

Hi.

 

Well, this has actually nothing to do with EXB at all. Here you need proper thread coding. 
The thing is, you control threads from outside the threads and you manage data within the threads. 

So when you use a table you basically tell the thread (when you launch it) what row it has to use. And that's basically it. 
And of course you also need some proper error handling, so that you know if it was successfull or not and what rows need to be repeated.

Please search the forum, there are many tutorials. And I think also an advanced course you can purchase somewhere that covers all of that in detail.

 

Regards

Dan


Signature-JPG.jpg


#3 hare ram

hare ram

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • LocationNew Delhi
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Professional Edition

Posted 25 January 2018 - 03:39 AM

I tried many way Dan since last 2 days and i am searching in forum all example and applied but can't success and getting frustrate. so plz give me proper link where example is given for above issue that can i understand in forum or video link for increment through table in multithread in exb...



#4 Bot-Factory (Dan)

Bot-Factory (Dan)

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 3075 posts
  • LocationEurope/Germany
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 25 January 2018 - 08:03 AM

I tried many way Dan since last 2 days and i am searching in forum all example and applied but can't success and getting frustrate. so plz give me proper link where example is given for above issue that can i understand in forum or video link for increment through table in multithread in exb...

 

I don't have those links for you I'm sorry. And if you're not able to learn it yourself, maybe hire someone to do it for you. 

 

Regards

Dan


Signature-JPG.jpg


#5 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 2735 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 25 January 2018 - 08:24 AM

With tables you don't want to be interacting with them inside a thread if you can help it. But what you can do is pass the info into a custom command, the video shows you how using parameters. You could read a table row and then pass the info into a custom command using parameters, and then increment the row variable. This way you only have one thread reading the table and each thread gets its own data.

 

Here is a tutorial on multithreading that talks about how to set it up and pass data through parameters:

 



#6 hare ram

hare ram

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • LocationNew Delhi
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Professional Edition

Posted 26 January 2018 - 10:51 PM

I don't have those links for you I'm sorry. And if you're not able to learn it yourself, maybe hire someone to do it for you. 

 

Regards

Dan

ok Dan i solved that issue after self learning..but you should appreciate man and i am learner in exb anyway........

 

Thanks



#7 hare ram

hare ram

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • LocationNew Delhi
  • OS:Windows 10
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Professional Edition

Posted 26 January 2018 - 10:53 PM

With tables you don't want to be interacting with them inside a thread if you can help it. But what you can do is pass the info into a custom command, the video shows you how using parameters. You could read a table row and then pass the info into a custom command using parameters, and then increment the row variable. This way you only have one thread reading the table and each thread gets its own data.

 

Here is a tutorial on multithreading that talks about how to set it up and pass data through parameters:

 

Thanks a lot  i watch earlier this video and pro solved ...thanks ..thanks a lot again..







Also tagged with one or more of these keywords: Multithreading, exbrowser

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users