Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm facing an issue passign a multi dimensionall array from routine output to tJavaRow.
Scenario:
public static String [][] post_text_login
for(int i=0;i<posts.size();i++)
{
post_text[i] = posts.get(i).getElementsByClass("xxxt").text();
post_photo[i] = posts.get(i).getElementsByClass("_5dec _xcx").attr("data-ploi");
post_DT[i] = posts.get(i).getElementsByTag("abbr").attr("data-utime");
};
for(int j=0;j<posts.size();j++)
{
ret_link[j][0]= post_text[j];
ret_link[j][1]= post_photo[j];
ret_link[j][2]= post_DT[j];
}
String [][]s =WebDriver_Selenium_3_8_1.post_text_login(x,x,x)
for(int i=0; i<10; i++) {
row14.post_text = s[i][0];
row14.post_photo = s[i][1];
row14.post_DT = s[i][2];
row14.id_post = s[i][0];
}
How can I iterate trought the bi-dimensional array and cycle to rows?
Thank you
Hello,
thx for the tip.
I still have issue understandign how to pass variable from previous componet to tJavaFlex:
This it the code in the start part of tJavaFlex:
String [][]s =WebDriver_Selenium_3_8_1.post_text_login(XXX,YYY,row12.line);
row12.line is always null.
Thx